v0

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DeletedSubscriptionsFieldName = "name"
View Source
const DeletedSubscriptionsFieldRemoteID = "remote_id"
View Source
const DeletedSubscriptionsTableName = "deleted_subscriptions"
View Source
const MailboxAttrsFieldMailboxID = "mailbox_attributes"
View Source
const MailboxAttrsFieldValue = "value"
View Source
const MailboxAttrsTableName = "mailbox_attrs"
View Source
const MailboxFlagsFieldMailboxID = "mailbox_flags"
View Source
const MailboxFlagsFieldValue = "value"
View Source
const MailboxFlagsTableName = "mailbox_flags"
View Source
const MailboxPermFlagsFieldMailboxID = "mailbox_permanent_flags"
View Source
const MailboxPermFlagsFieldValue = "value"
View Source
const MailboxPermFlagsTableName = "mailbox_perm_flags"
View Source
const MailboxesFieldID = "id"
View Source
const MailboxesFieldName = "name"
View Source
const MailboxesFieldRemoteID = "remote_id"
View Source
const MailboxesFieldSubscribed = "subscribed"
View Source
const MailboxesFieldUIDNext = "uid_next"
View Source
const MailboxesFieldUIDValidity = "uid_validity"
View Source
const MailboxesTableName = "mailboxes"
View Source
const MessageFlagsFieldMessageID = "message_flags"
View Source
const MessageFlagsFieldValue = "value"
View Source
const MessageFlagsTableName = "message_flags"
View Source
const MessagesFieldBody = "body"
View Source
const MessagesFieldBodyStructure = "body_structure"
View Source
const MessagesFieldDate = "date"
View Source
const MessagesFieldDeleted = "deleted"
View Source
const MessagesFieldEnvelope = "envelope"
View Source
const MessagesFieldID = "id"
View Source
const MessagesFieldRemoteID = "remote_id"
View Source
const MessagesFieldSize = "size"
View Source
const MessagesTableName = "messages"
View Source
const UIDsFieldDeleted = "deleted"
View Source
const UIDsFieldMailboxID = "mailbox_ui_ds"
View Source
const UIDsFieldMessageID = "uid_message"
View Source
const UIDsFieldRecent = "recent"
View Source
const UIDsFieldUID = "uid"
View Source
const UIDsTableName = "ui_ds"

Variables

This section is empty.

Functions

This section is empty.

Types

type DeletedSubscriptionsTable

type DeletedSubscriptionsTable struct{}

func (DeletedSubscriptionsTable) Create

func (DeletedSubscriptionsTable) Name

type GluonVersionTable

type GluonVersionTable struct{}

func (GluonVersionTable) Create

func (GluonVersionTable) Name

func (g GluonVersionTable) Name() string

type MailboxAttrTable

type MailboxAttrTable struct{}

func (MailboxAttrTable) Create

func (MailboxAttrTable) Name

func (m MailboxAttrTable) Name() string

type MailboxFlagsTable

type MailboxFlagsTable struct{}

func (MailboxFlagsTable) Create

func (MailboxFlagsTable) Name

func (m MailboxFlagsTable) Name() string

type MailboxPermFlagsTable

type MailboxPermFlagsTable struct{}

func (MailboxPermFlagsTable) Create

func (MailboxPermFlagsTable) Name

func (m MailboxPermFlagsTable) Name() string

type MailboxesTable

type MailboxesTable struct{}

func (MailboxesTable) Create

func (MailboxesTable) Name

func (m MailboxesTable) Name() string

type MessageFlagsTable

type MessageFlagsTable struct{}

func (MessageFlagsTable) Create

func (MessageFlagsTable) Name

func (m MessageFlagsTable) Name() string

type MessagesTable

type MessagesTable struct{}

func (MessagesTable) Create

func (MessagesTable) Name

func (m MessagesTable) Name() string

type Migration

type Migration struct{}

func (Migration) Run

type Table

type Table interface {
	Name() string
	Create(ctx context.Context, tx utils.QueryWrapper) error
}

type UIDsTable

type UIDsTable struct{}

func (UIDsTable) Create

func (U UIDsTable) Create(ctx context.Context, tx utils.QueryWrapper) error

func (UIDsTable) Name

func (U UIDsTable) Name() string

Jump to

Keyboard shortcuts

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