Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseHandler ¶
func BaseHandler(handler AppHandler) http.Handler
Types ¶
type AppHandler ¶
type AppHandler interface {
Serve(ctx context.Context, w http.ResponseWriter, r *http.Request) *HTTPResponse
}
type BasicErrorMessage ¶
type BasicErrorMessage struct {
Err error `json:"error"`
}
type HTTPResponse ¶
Click to show internal directories.
Click to hide internal directories.