Versions in this module Expand all Collapse all v0 v0.35.0 Apr 26, 2026 v0.34.0 Apr 21, 2026 Changes in this version + func DaemonProcAttr() *syscall.SysProcAttr + type Client struct + func Dial() (*Client, error) + func (c *Client) Call(method string, params interface{}, result interface{}) error + func (c *Client) Close() error + func (c *Client) Events() <-chan *daemonrpc.Event + func (c *Client) Ping() error + func (c *Client) Status() (*daemonrpc.StatusResult, error) + type Service interface + ArchiveEmails func(accountID, folder string, uids []uint32) error + Close func() error + DeleteEmails func(accountID, folder string, uids []uint32) error + Events func() <-chan *daemonrpc.Event + FetchEmailBody func(accountID, folder string, uid uint32) (string, []backend.Attachment, error) + FetchEmails func(accountID, folder string, limit, offset uint32) ([]backend.Email, error) + FetchFolders func(accountID string) ([]backend.Folder, error) + IsDaemon func() bool + MarkRead func(accountID, folder string, uids []uint32) error + MoveEmails func(accountID string, uids []uint32, src, dst string) error + RefreshFolder func(accountID, folder string) error + Subscribe func(accountID, folder string) error + Unsubscribe func(accountID, folder string) error + func NewService(cfg *config.Config) Service