Versions in this module Expand all Collapse all v0 v0.7.0 Apr 13, 2026 Changes in this version + func OptionalFloat64(params map[string]interface{}, key string, fallback float64) float64 + func RequireFloat64(params map[string]interface{}, key string) (float64, error) v0.6.0 Mar 17, 2026 Changes in this version + func OptionalBool(params map[string]interface{}, key string, fallback bool) bool + func OptionalInt(params map[string]interface{}, key string, fallback int) int + func OptionalString(params map[string]interface{}, key, fallback string) string + func RequireString(params map[string]interface{}, key string) (string, error) + func StringSlice(params map[string]interface{}, key string) []string + type ErrMissingParam struct + Name string + func (e *ErrMissingParam) Error() string + type Response map[string]interface + func ListResponse(key string, items interface{}, count int) Response + func StatusResponse(status string, extras ...func(Response)) Response