Documentation ¶
Index ¶
- func BasicHandler(handler func(request *http.Request) CanHTTPWrite, l *log.Logger) http.Handler
- func HealthHandler(z *log.Logger, tracer tracing.Tracing) http.Handler
- func LogMiddleware(logger *log.Logger, filterFunc func(req *http.Request) bool) func(handler http.Handler) http.Handler
- func MuxMiddleware() func(handler http.Handler) http.Handler
- func NotFoundHandler(logger *log.Logger) http.Handler
- type BasicResponse
- type CanHTTPWrite
- type JWTSignIn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicHandler ¶
func LogMiddleware ¶
Types ¶
type BasicResponse ¶
func (*BasicResponse) HTTPWrite ¶
func (g *BasicResponse) HTTPWrite(ctx context.Context, w http.ResponseWriter, l *log.Logger)
type CanHTTPWrite ¶
Click to show internal directories.
Click to hide internal directories.