smtp_commands

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandLog added in v1.2.0

type CommandLog map[Commands]string

func (CommandLog) MarshalJSON added in v1.2.0

func (i CommandLog) MarshalJSON() ([]byte, error)

type Commands

type Commands int
const (
	Timeout Commands = iota
	Connection
	Ehlo
	StartTls
	MailFrom
	RcptTo
	Data
	Quit
	SpfFail
)

func (*Commands) MarshalJSON added in v1.2.0

func (c *Commands) MarshalJSON() ([]byte, error)

func (Commands) String added in v1.2.0

func (c Commands) String() string

Jump to

Keyboard shortcuts

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