Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRequestLogger ¶
Types ¶
type JSONCodec ¶
type JSONCodec struct {
// contains filtered or unexported fields
}
func NewJSONCodec ¶
func NewJSONCodec(st interface{}) *JSONCodec
type NoAfterInterceptor ¶
type NoAfterInterceptor struct{}
func (*NoAfterInterceptor) After ¶
func (i *NoAfterInterceptor) After(w http.ResponseWriter, r *http.Request)
type NoBeforeInterceptor ¶
type NoBeforeInterceptor struct{}
func (*NoBeforeInterceptor) Before ¶
func (i *NoBeforeInterceptor) Before(w http.ResponseWriter, r *http.Request)
type NopInterceptor ¶
type NopInterceptor struct{}
func (*NopInterceptor) After ¶
func (i *NopInterceptor) After(w http.ResponseWriter, r *http.Request)
func (*NopInterceptor) Before ¶
func (i *NopInterceptor) Before(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.