Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JsonWrapperHandler ¶
func JsonWrapperHandler[T any](f func(http.ResponseWriter, *http.Request) (ResponseHolder[T], error)) http.HandlerFunc
Types ¶
type ResponseHolder ¶
func StatusCreated ¶
func StatusCreated[T any](data T) ResponseHolder[T]
func StatusOk ¶
func StatusOk[T any](data T) ResponseHolder[T]
Click to show internal directories.
Click to hide internal directories.