Documentation ¶
Overview ¶
Package api contains data and types about the users API. TODO: this is a temporary package and will be moved to a better one.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { ID int64 `json:"id" yaml:"id"` Base64PasswordHash *string `json:"password_hash,omitempty" yaml:"passwordHash,omitempty"` Base64Salt *string `json:"salt,omitempty" yaml:"salt,omitempty"` CreatedAt time.Time `json:"created_at" yaml:"createdAt"` UpdatedAt *time.Time `json:"updated_at,omitempty" yaml:"updatedAt,omitempty"` DeletedAt *time.Time `json:"deleted_at,omitempty" yaml:"deletedAt,omitempty"` Username string `json:"username" yaml:"username"` DisplayName string `json:"display_name" yaml:"display_name"` Email *string `json:"email,omitempty" yaml:"email,omitempty"` RegistrationIP *net.IP `json:"registration_ip,omitempty" yaml:"registrationIP,omitempty"` Bio *string `json:"bio,omitempty" yaml:"bio,omitempty"` Birthday *time.Time `json:"birthday,omitempty" yaml:"birthday,omitempty"` }
Click to show internal directories.
Click to hide internal directories.