Documentation ¶
Index ¶
- type Store
- func (st *Store) Close() error
- func (st *Store) CreateToken(ctx context.Context, params dbo.TokenParams) error
- func (st *Store) DeleteToken(ctx context.Context, ref dbo.TokenRef) error
- func (st *Store) FindToken(ctx context.Context, id dbo.KeyID) (*dbo.Token, error)
- func (st *Store) GetToken(ctx context.Context, ref dbo.TokenRef) (*dbo.Token, error)
- func (st *Store) ListTokens(ctx context.Context, user string) ([]*dbo.Token, error)
- func (st *Store) UpdateTokenConfig(ctx context.Context, ref dbo.TokenRef, config dbo.TokenConfig) error
- func (st *Store) UpdateTokenKey(ctx context.Context, ref dbo.TokenRef, key dbo.Key) error
- func (st *Store) UpdateTokensStats(ctx context.Context, stats []dbo.TokenStat) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) CreateToken ¶
func (*Store) DeleteToken ¶
func (*Store) ListTokens ¶
func (*Store) UpdateTokenConfig ¶
func (*Store) UpdateTokenKey ¶
Click to show internal directories.
Click to hide internal directories.