Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JsonReqNoResp ¶
func JsonReqNoResp[Q any](handler HandlerNoResp[Q]) http.HandlerFunc
func NoReqJsonResp ¶
func NoReqJsonResp[R any](handler HandlerNoReq[R]) http.HandlerFunc
func NoReqNoResp ¶
func NoReqNoResp(handler HandlerNoReqNoResp) http.HandlerFunc
Types ¶
type HandlerNoReq ¶
type HandlerNoReq[R any] func(ctx context.Context) (response R, err jsonresp.HttpStatusCoder)
type HandlerNoReqNoResp ¶
type HandlerNoReqNoResp func(ctx context.Context) (err jsonresp.HttpStatusCoder)
type HandlerNoResp ¶
type HandlerNoResp[Q any] func(ctx context.Context, request Q) (err jsonresp.HttpStatusCoder)
Click to show internal directories.
Click to hide internal directories.