model

package
v0.0.0-...-e46c3b8 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Access

type Access interface {
	ID() uuid.UUID
	UserID() uuid.UUID
	UserEmail() string
	UserName() string
	CreatedAt() time.Time
}

Access represents the access model.

type User

type User interface {
	ID() uuid.UUID
	Name() string
	Email() string
	PasswordHash() []byte
	RegisteredAt() time.Time
	LastModifiedAt() time.Time
}

User represents the user model.

Jump to

Keyboard shortcuts

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