utils

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromUUID added in v0.0.4

func FromUUID(input []byte) string

func GetAccessToken

func GetAccessToken(ctx context.Context) (string, error)

func GetClaim added in v0.0.20

func GetClaim[T generic.ByteSeq](ctx context.Context, key T) interface{}

func GetID added in v0.0.20

func GetID[T generic.ByteSeq, E generic.ByteSeq](ctx context.Context, key T) E

func ParseUUID added in v0.0.4

func ParseUUID(input string) []byte

func SetClaim added in v0.0.20

func SetClaim[T generic.ByteSeq](ctx context.Context, key T, claim interface{}) context.Context

func SetID added in v0.0.20

func SetID[T, E generic.ByteSeq](ctx context.Context, key T, id E) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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