Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteResponse ¶
func WriteResponse(w http.ResponseWriter, resp interface{})
Types ¶
type BaseHandler ¶
func NewHandler ¶
func NewHandler(l logger.Logger) *BaseHandler
func (*BaseHandler) WriteErrorResponse ¶
func (h *BaseHandler) WriteErrorResponse(ctx context.Context, w http.ResponseWriter, err error)
Click to show internal directories.
Click to hide internal directories.