Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImapServer ¶
func (ImapServer) GetHost ¶
func (i ImapServer) GetHost() string
func (ImapServer) GetPort ¶
func (i ImapServer) GetPort() string
type Mailbox ¶
type Mailbox struct { User string `json:"user" validate:"required"` Password string `json:"password" validate:"required"` SrcPassword string `json:"srcPassword"` SrcUser string `json:"srcUser"` DstPassword string `json:"dstPassword"` DstUser string `json:"dstUser"` Active *bool `json:"active"` }
func (Mailbox) GetDstPassword ¶
func (Mailbox) GetDstUser ¶
func (Mailbox) GetSrcPassword ¶
func (Mailbox) GetSrcUser ¶
type Sync ¶
type Sync struct { Src ImapServer `json:"src" validate:"required"` Dst ImapServer `json:"dst" validate:"required"` Mailboxes []Mailbox `json:"mailboxes" validate:"required"` }
func (Sync) GetActiveMailboxes ¶
Click to show internal directories.
Click to hide internal directories.