Documentation
¶
Index ¶
- Variables
- func GetBool(r *http.Request, name string, required bool) (bool, bool, error)
- func GetBoolCookie(r *http.Request, name string, required bool) (bool, bool, error)
- func GetBoolHeader(r *http.Request, name string, required bool) (bool, bool, error)
- func GetBoolPath(r *http.Request, name string, required bool) (bool, bool, error)
- func GetBoolQuery(r *http.Request, name string, required bool) (bool, bool, error)
- func GetEnum[T comparable](r *http.Request, name string, required bool, parser func(string) T) (T, bool, error)
- func GetEnumArray[T comparable](r *http.Request, name string, required bool, parser func(string) T) ([]T, bool, error)
- func GetEnumArrayCookie[T comparable](r *http.Request, name string, required bool, parser func(string) T) ([]T, bool, error)
- func GetEnumArrayHeader[T comparable](r *http.Request, name string, required bool, parser func(string) T) ([]T, bool, error)
- func GetEnumArrayPath[T comparable](r *http.Request, name string, required bool, parser func(string) T) ([]T, bool, error)
- func GetEnumArrayQuery[T comparable](r *http.Request, name string, required bool, parser func(string) T) ([]T, bool, error)
- func GetEnumCookie[T comparable](r *http.Request, name string, required bool, parser func(string) T) (T, bool, error)
- func GetEnumHeader[T comparable](r *http.Request, name string, required bool, parser func(string) T) (T, bool, error)
- func GetEnumPath[T comparable](r *http.Request, name string, required bool, parser func(string) T) (T, bool, error)
- func GetEnumQuery[T comparable](r *http.Request, name string, required bool, parser func(string) T) (T, bool, error)
- func GetInt(r *http.Request, name string, required bool) (int, bool, error)
- func GetInt32(r *http.Request, name string, required bool) (int32, bool, error)
- func GetInt32Array(r *http.Request, name string, required bool) ([]int32, bool, error)
- func GetInt32ArrayCookie(r *http.Request, name string, required bool) ([]int32, bool, error)
- func GetInt32ArrayHeader(r *http.Request, name string, required bool) ([]int32, bool, error)
- func GetInt32ArrayPath(r *http.Request, name string, required bool) ([]int32, bool, error)
- func GetInt32ArrayQuery(r *http.Request, name string, required bool) ([]int32, bool, error)
- func GetInt32Cookie(r *http.Request, name string, required bool) (int32, bool, error)
- func GetInt32Header(r *http.Request, name string, required bool) (int32, bool, error)
- func GetInt32Path(r *http.Request, name string, required bool) (int32, bool, error)
- func GetInt32Query(r *http.Request, name string, required bool) (int32, bool, error)
- func GetInt64(r *http.Request, name string, required bool) (int64, bool, error)
- func GetInt64Cookie(r *http.Request, name string, required bool) (int64, bool, error)
- func GetInt64Header(r *http.Request, name string, required bool) (int64, bool, error)
- func GetInt64Path(r *http.Request, name string, required bool) (int64, bool, error)
- func GetInt64Query(r *http.Request, name string, required bool) (int64, bool, error)
- func GetIntCookie(r *http.Request, name string, required bool) (int, bool, error)
- func GetIntHeader(r *http.Request, name string, required bool) (int, bool, error)
- func GetIntPath(r *http.Request, name string, required bool) (int, bool, error)
- func GetIntQuery(r *http.Request, name string, required bool) (int, bool, error)
- func GetString(r *http.Request, name string, required bool) (string, bool, error)
- func GetStringArray(r *http.Request, name string, required bool) ([]string, bool, error)
- func GetStringArrayCookie(r *http.Request, name string, required bool) ([]string, bool, error)
- func GetStringArrayHeader(r *http.Request, name string, required bool) ([]string, bool, error)
- func GetStringArrayPath(r *http.Request, name string, required bool) ([]string, bool, error)
- func GetStringArrayQuery(r *http.Request, name string, required bool) ([]string, bool, error)
- func GetStringCookie(r *http.Request, name string, required bool) (string, bool, error)
- func GetStringHeader(r *http.Request, name string, required bool) (string, bool, error)
- func GetStringPath(r *http.Request, name string, required bool) (string, bool, error)
- func GetStringQuery(r *http.Request, name string, required bool) (string, bool, error)
- func GetTime(r *http.Request, name string, required bool) (time.Time, bool, error)
- func GetTimeCookie(r *http.Request, name string, required bool) (time.Time, bool, error)
- func GetTimeHeader(r *http.Request, name string, required bool) (time.Time, bool, error)
- func GetTimePath(r *http.Request, name string, required bool) (time.Time, bool, error)
- func GetTimeQuery(r *http.Request, name string, required bool) (time.Time, bool, error)
- func GetUUID(r *http.Request, name string, required bool) (uuid.UUID, bool, error)
- func GetUUIDArray(r *http.Request, name string, required bool) ([]uuid.UUID, bool, error)
- func GetUUIDArrayCookie(r *http.Request, name string, required bool) ([]uuid.UUID, bool, error)
- func GetUUIDArrayHeader(r *http.Request, name string, required bool) ([]uuid.UUID, bool, error)
- func GetUUIDArrayPath(r *http.Request, name string, required bool) ([]uuid.UUID, bool, error)
- func GetUUIDArrayQuery(r *http.Request, name string, required bool) ([]uuid.UUID, bool, error)
- func GetUUIDCookie(r *http.Request, name string, required bool) (uuid.UUID, bool, error)
- func GetUUIDHeader(r *http.Request, name string, required bool) (uuid.UUID, bool, error)
- func GetUUIDPath(r *http.Request, name string, required bool) (uuid.UUID, bool, error)
- func GetUUIDQuery(r *http.Request, name string, required bool) (uuid.UUID, bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
func GetBoolCookie ¶ added in v0.8.4
func GetBoolHeader ¶ added in v0.8.4
func GetBoolPath ¶ added in v0.8.4
func GetBoolQuery ¶ added in v0.8.4
func GetEnumArray ¶ added in v0.4.11
func GetEnumArrayCookie ¶ added in v0.8.4
func GetEnumArrayHeader ¶ added in v0.8.4
func GetEnumArrayPath ¶ added in v0.8.4
func GetEnumArrayQuery ¶ added in v0.8.4
func GetEnumCookie ¶ added in v0.8.4
func GetEnumHeader ¶ added in v0.8.4
func GetEnumPath ¶ added in v0.8.4
func GetEnumQuery ¶ added in v0.8.4
func GetInt32Array ¶
func GetInt32ArrayCookie ¶ added in v0.8.4
func GetInt32ArrayHeader ¶ added in v0.8.4
func GetInt32ArrayPath ¶ added in v0.8.4
func GetInt32ArrayQuery ¶ added in v0.8.4
func GetInt32Cookie ¶ added in v0.8.4
func GetInt32Header ¶ added in v0.8.4
func GetInt32Path ¶ added in v0.8.4
func GetInt32Query ¶ added in v0.8.4
func GetInt64Cookie ¶ added in v0.8.4
func GetInt64Header ¶ added in v0.8.4
func GetInt64Path ¶ added in v0.8.4
func GetInt64Query ¶ added in v0.8.4
func GetIntCookie ¶ added in v0.8.4
func GetIntHeader ¶ added in v0.8.4
func GetIntPath ¶ added in v0.8.4
func GetIntQuery ¶ added in v0.8.4
func GetStringArray ¶
func GetStringArrayCookie ¶ added in v0.8.4
func GetStringArrayHeader ¶ added in v0.8.4
func GetStringArrayPath ¶ added in v0.8.4
func GetStringArrayQuery ¶ added in v0.8.4
func GetStringCookie ¶ added in v0.8.4
func GetStringHeader ¶ added in v0.8.4
func GetStringPath ¶ added in v0.8.4
func GetStringQuery ¶ added in v0.8.4
func GetTimeCookie ¶ added in v0.8.4
func GetTimeHeader ¶ added in v0.8.4
func GetTimePath ¶ added in v0.8.4
func GetTimeQuery ¶ added in v0.8.4
func GetUUIDArray ¶ added in v0.8.9
func GetUUIDArrayCookie ¶ added in v0.8.9
func GetUUIDArrayHeader ¶ added in v0.8.9
func GetUUIDArrayPath ¶ added in v0.8.9
func GetUUIDArrayQuery ¶ added in v0.8.9
func GetUUIDCookie ¶ added in v0.8.4
func GetUUIDHeader ¶ added in v0.8.4
func GetUUIDPath ¶ added in v0.8.4
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.