autchcache

package
v0.0.0-...-4f2f30f Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthTeamInfo

type AuthTeamInfo struct {
	Team *models.Team
	Tier *models.Tier
}

type TeamAuthCache

type TeamAuthCache struct {
	// contains filtered or unexported fields
}

func NewTeamAuthCache

func NewTeamAuthCache(db *db.DB) *TeamAuthCache

func (*TeamAuthCache) Get

func (c *TeamAuthCache) Get(ctx context.Context, apiKey string) (team *models.Team, tier *models.Tier, err error)

func (*TeamAuthCache) Refresh

func (c *TeamAuthCache) Refresh(apiKey string)

Refresh refreshes the cache for the given team ID.

type TeamInfo

type TeamInfo struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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