Documentation ¶
Index ¶
- func GetVersion() string
- func PublishCommonMetrics()
- func ReadCSVParam(qs url.Values, key string, defaultValue []string) []string
- func ReadIDParam(r *http.Request) (int64, error)
- func ReadIntParam(qs url.Values, key string, defaultValue int, v *validator.Validator) int
- func ReadJSON(w http.ResponseWriter, r *http.Request, dst interface{}) error
- func ReadStringParam(qs url.Values, key string, defaultValue string) string
- func WriteJSON(w http.ResponseWriter, status int, data any) error
- func WriteJSONWithHeaders(w http.ResponseWriter, status int, data any, headers http.Header) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVersion ¶
func GetVersion() string
func PublishCommonMetrics ¶
func PublishCommonMetrics()
func ReadIntParam ¶
func WriteJSONWithHeaders ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.