domain

package
v0.0.0-...-346da1c Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FALSE dbBool = iota
	TRUE
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Id             uuid.UUID
	Username       string
	Publickey      string
	CreatedAt      time.Time
	FirstTimeLogin dbBool
	WebPublicKey   string
	WebPrivateKey  string
}

func (*Account) ToString

func (acc *Account) ToString() string

type Note

type Note struct {
	Id        uuid.UUID
	CreatedBy string
	Message   string
	CreatedAt time.Time
}

func (*Note) ToString

func (note *Note) ToString() string

type SaveNote

type SaveNote struct {
	UserId  uuid.UUID
	Message string
}

Jump to

Keyboard shortcuts

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