Documentation ¶
Index ¶
- func GetAuthContext(ctx context.Context) (auth.Interface, error)
- func GetCountries(ctx context.Context) ([]*api.Country, error)
- func GetRequestID(ctx context.Context) string
- func GetSelectedCountryID(ctx context.Context) (string, error)
- func GetSession(ctx context.Context) (auth.Session, bool)
- func Max[T constraints.Ordered](a, b T) T
- func Min[T constraints.Ordered](a, b T) T
- func WithAuthContext(ctx context.Context, authCtx auth.Interface) context.Context
- func WithCountries(ctx context.Context, countries []*api.Country) context.Context
- func WithRequestID(ctx context.Context, id string) context.Context
- func WithSelectedCountryID(ctx context.Context, selectedCountryID string) context.Context
- func WithSession(ctx context.Context, session auth.Session) context.Context
- type JwtGroupOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRequestID ¶
func Max ¶
func Max[T constraints.Ordered](a, b T) T
func Min ¶
func Min[T constraints.Ordered](a, b T) T
func WithAuthContext ¶
func WithCountries ¶
func WithSelectedCountryID ¶
Types ¶
type JwtGroupOptions ¶
type JwtGroupOptions struct {
GlobalAdmin string
}
Click to show internal directories.
Click to hide internal directories.