Documentation ¶ Index ¶ type Token func New(stor ports.TokenStorage, bucketService *bucket.Service) *Token func (t *Token) Add(controlId uint64, token domain.Token) domain.Token func (t *Token) GetByBucketId(controlId, bucketId uint64) []domain.Token func (t *Token) GetByToken(token string) (map[string]any, error) func (t *Token) Remove(controlId, id uint64) 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) Source Files ¶ View all Source files crud.go Click to show internal directories. Click to hide internal directories.