model

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Claim

type Claim string

type MultipleErrors

type MultipleErrors []error

MultipleErrors is an error type that supports multiple errors

func (MultipleErrors) Error

func (e MultipleErrors) Error() string

type UserClaims

type UserClaims map[Claim]any

UserClaims holds claims about a user

func (UserClaims) GetForHeader

func (claims UserClaims) GetForHeader(claim Claim) (string, bool)

func (UserClaims) GetForMemCache

func (claims UserClaims) GetForMemCache(claim Claim) (string, bool)

func (UserClaims) GetString

func (claims UserClaims) GetString(claim Claim) (string, bool)

func (UserClaims) GetStringSlice

func (claims UserClaims) GetStringSlice(claim Claim) ([]string, bool)

Jump to

Keyboard shortcuts

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