parser

package
v0.0.0-...-e72bc3c Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAuthCommandInvalid = errors.New("parser: Auth command is invalid")
)
View Source
var (
	ErrMailCommandInvalid = errors.New("parser: Mail command is invalid")
)
View Source
var (
	ErrRecipientCommandInvalid = errors.New("parser: Recipient command is invalid")
)

Functions

This section is empty.

Types

type AuthCommand

type AuthCommand struct {
	Mechanism       string
	InitialResponse string
}

func NewAuthCommand

func NewAuthCommand(cmdAndArgs string) (*AuthCommand, error)

type MailCommand

type MailCommand struct {
	ReversePath string
}

func NewMailCommand

func NewMailCommand(cmdAndArgs string) (*MailCommand, error)

type RecipientCommand

type RecipientCommand struct {
	ForwardPath string
}

func NewRecipientCommand

func NewRecipientCommand(cmdAndArgs string) (*RecipientCommand, error)

Jump to

Keyboard shortcuts

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