response_empty.go 331 B

1234567891011121314151617
  1. package rest
  2. type ResponseEmpty struct{}
  3. func (s *ResponseEmpty) IsError() bool {
  4. return false
  5. }
  6. func (s *ResponseEmpty) KeySet(key string, val any) {}
  7. func (s *ResponseEmpty) FileSet(name string, file IReadCloserLen) {}
  8. func (s *ResponseEmpty) Close() {}
  9. func (s *ResponseEmpty) Send(writer any) IErrorArgs {
  10. return nil
  11. }