token

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Token

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

func New

func New(stor ports.TokenStorage, bucketService *bucket.Service) *Token

func (*Token) Add

func (t *Token) Add(controlId uint64, token domain.Token) domain.Token

func (*Token) GetByBucketId

func (t *Token) GetByBucketId(controlId, bucketId uint64) []domain.Token

func (*Token) GetByToken

func (t *Token) GetByToken(token string) (map[string]any, error)

func (*Token) Remove

func (t *Token) Remove(controlId, id uint64)

Jump to

Keyboard shortcuts

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