token

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: AGPL-3.0 Imports: 4 Imported by: 0

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 NewRepository

func NewRepository(db *gorm.DB) *Repository

NewRepository ...

func (*Repository) Any

func (p *Repository) Any(uuid string) bool

func (*Repository) Delete

func (p *Repository) Delete(userid int)

func (*Repository) DeleteByUUID

func (p *Repository) DeleteByUUID(uuid string)

func (*Repository) Migrate

func (p *Repository) Migrate() error

Migrate ...

func (*Repository) Save

func (p *Repository) Save(userid int, uid uuid.UUID, tkn string, expriydate time.Time, transmissionKey string)

Jump to

Keyboard shortcuts

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