common

package
v0.0.0-...-b0e2d2c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetQueryParam

func GetQueryParam(r *http.Request, key string) string

func GetQueryParamBoolean

func GetQueryParamBoolean(r *http.Request, key string, fallback bool) bool

func GetQueryParamFloat64

func GetQueryParamFloat64(r *http.Request, key string) (*float64, error)

func GetQueryParamFloat64Fallback

func GetQueryParamFloat64Fallback(r *http.Request, key string, fallback *float64) (*float64, error)

func GetQueryParamInt

func GetQueryParamInt(r *http.Request, key string) (*int, error)

func GetQueryParamInt64

func GetQueryParamInt64(r *http.Request, key string) (*int64, error)

func GetQueryParamInt64Slice

func GetQueryParamInt64Slice(r *http.Request, key string) ([]int64, error)

func GetQueryParamNullBoolean

func GetQueryParamNullBoolean(r *http.Request, key string) *bool

func GetTimestampFromQueryParam

func GetTimestampFromQueryParam(r *http.Request, key string, fallback *time.Time) (*time.Time, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL