Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPStatusFromCode ¶
func HTTPStatusFromError ¶
Types ¶
type AESDecoderEncoder ¶
type AESDecoderEncoder struct {
// contains filtered or unexported fields
}
func NewAESDecoderEncoder ¶
func NewAESDecoderEncoder(key []byte) (*AESDecoderEncoder, error)
func (*AESDecoderEncoder) DecodeBody ¶
func (*AESDecoderEncoder) Encode ¶
func (d *AESDecoderEncoder) Encode(rw http.ResponseWriter) (http.ResponseWriter, error)
type AESResponseWriter ¶
type AESResponseWriter struct { http.ResponseWriter // contains filtered or unexported fields }
type Encoder ¶
type Encoder interface {
Encode(rw http.ResponseWriter) (http.ResponseWriter, error)
}
type Option ¶
type Option func(options *options)
Option func is for applying any params to hub options
func WithDecoder ¶
func WithEncoder ¶
func WithInterceptors ¶ added in v0.4.13
func WithInterceptors(interceptors ...grpc.UnaryServerInterceptor) Option
Click to show internal directories.
Click to hide internal directories.