command

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(options CreateOptions) (string, error)

func Delete

func Delete(options DeleteOptions) (string, error)

func Get

func Get(options GetOptions) (string, error)

func List

func List(options ListOptions) (string, error)

func Save

func Save(options SaveOptions) (string, error)

func Send

func Send(options SendOptions) (string, error)

func Trash

func Trash(options TrashOptions) (string, error)

func Untrash

func Untrash(options UntrashOptions) (string, error)

Types

type CreateOptions

type CreateOptions struct {
	// client options
	APIID    string
	Region   string
	Endpoint string
	Verbose  bool

	// request options
	Subject      string
	From         []string
	To           []string
	Cc           []string
	Bcc          []string
	ReplyTo      []string
	Text         string
	HTML         string
	GenerateText string
	Send         bool

	File string
}

type DeleteOptions

type DeleteOptions struct {
	// client options
	APIID    string
	Region   string
	Endpoint string
	Verbose  bool

	// request options
	MessageID string
}

type GetOptions

type GetOptions struct {
	// client options
	APIID    string
	Region   string
	Endpoint string
	Verbose  bool

	// request options
	MessageID string
}

type ListOptions

type ListOptions struct {
	// client options
	APIID    string
	Region   string
	Endpoint string
	Verbose  bool

	// request options
	Type       string
	Year       string
	Month      string
	Order      string // asc or desc (default)
	NextCursor string
}

type SaveOptions

type SaveOptions struct {
	// client options
	APIID    string
	Region   string
	Endpoint string
	Verbose  bool

	// request options
	MessageID    string
	Subject      string
	From         []string
	To           []string
	Cc           []string
	Bcc          []string
	ReplyTo      []string
	Body         string
	Text         string
	HTML         string
	GenerateText string
	Send         bool

	File string
}

type SendOptions

type SendOptions struct {
	// client options
	APIID    string
	Region   string
	Endpoint string
	Verbose  bool

	// request options
	MessageID string
}

type TrashOptions

type TrashOptions struct {
	// client options
	APIID    string
	Region   string
	Endpoint string
	Verbose  bool

	// request options
	MessageID string
}

type UntrashOptions

type UntrashOptions struct {
	// client options
	APIID    string
	Region   string
	Endpoint string
	Verbose  bool

	// request options
	MessageID string
}

Jump to

Keyboard shortcuts

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