schemas

package
v0.0.0-...-aeb1ad3 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID          ksuid.KSUID
	Username    sql.NullString
	Host        sql.NullString
	DisplayName sql.NullString
	Headline    sql.NullString
	Description sql.NullString
	CreatedAt   time.Time
	IsSilence   bool
	IsSuspend   bool
	IsModerator bool
	IsAdmin     bool
	DeletedAt   sql.NullTime
}

type UserToken

type UserToken struct {
	ID        ksuid.KSUID
	Token     string
	UserId    *ksuid.KSUID
	ExpiredAt sql.NullTime
	IP        sql.NullString
	CreatedAt time.Time
}

Jump to

Keyboard shortcuts

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