Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
Repository ...
func (*Repository) Create ¶ added in v1.2.1
func (p *Repository) Create(userid int, uid uuid.UUID, tkn string, expriydate time.Time, transmissionKey string)
Create creates model to database
func (*Repository) DeleteByUUID ¶
func (p *Repository) DeleteByUUID(uuid string)
DeleteByUUID deletes from database by uuid
func (*Repository) FindByUUID ¶ added in v1.2.1
func (p *Repository) FindByUUID(uuid string) (model.Token, error)
Any represents any match
Click to show internal directories.
Click to hide internal directories.