Documentation ¶
Index ¶
- func Await[R any](f func() R) <-chan R
- func BindAndValidate(w http.ResponseWriter, r *http.Request, body any) error
- func GetIntQuery(query url.Values, key string, deflt int) int
- func GetUserIdFromClaims(r *http.Request) (int64, error)
- func HandleError(w http.ResponseWriter, r *http.Request, err error, status int)
- func Map[T, R any](s []T, f func(T) R) []R
- func TryUntilSuccess(ctx context.Context, f func() error, interval time.Duration)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindAndValidate ¶
func HandleError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.