models

package
v0.0.0-...-a53e0fd Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	ID                    uint32 `mdb:"ignore"`
	Nick, Email, Password string
}

func (Account) Description

func (e Account) Description() string

func (Account) FilterValue

func (e Account) FilterValue() string

func (*Account) Ref

func (e *Account) Ref() interface{}

func (*Account) SetID

func (e *Account) SetID(id uint32)

func (Account) Title

func (e Account) Title() string

type Email

type Email struct {
	ID      uint32 `mdb:"ignore"`
	Subject string
}

func (Email) Description

func (e Email) Description() string

func (Email) FilterValue

func (e Email) FilterValue() string

func (*Email) Ref

func (e *Email) Ref() interface{}

func (*Email) SetID

func (e *Email) SetID(id uint32)

func (Email) Title

func (e Email) Title() string

type Mailbox

type Mailbox struct {
	ID   uint32 `mdb:"ignore"`
	UID  uint32
	Name string
}

func (Mailbox) Description

func (m Mailbox) Description() string

func (Mailbox) FilterValue

func (m Mailbox) FilterValue() string

func (*Mailbox) Ref

func (m *Mailbox) Ref() interface{}

func (*Mailbox) SetID

func (m *Mailbox) SetID(id uint32)

func (Mailbox) Title

func (m Mailbox) Title() string

Jump to

Keyboard shortcuts

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