parser

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Swig_escape_always_false bool
	Swig_escape_val          interface{}
)

Functions

func DeleteParseResult

func DeleteParseResult(arg1 ParseResult)

func DeleteStringMap

func DeleteStringMap(arg1 StringMap)

func ParseRFC5322AddressList added in v0.12.0

func ParseRFC5322AddressList(input string) ([]*mail.Address, error)

func ParseRFC5322DateTime added in v0.12.0

func ParseRFC5322DateTime(input string) (time.Time, error)

func Swig_free

func Swig_free(arg1 uintptr)

func Swig_malloc

func Swig_malloc(arg1 int) (_swig_ret uintptr)

Types

type ParseResult

type ParseResult interface {
	Swigcptr() uintptr
	SwigIsParseResult()
	SetTag(arg2 string)
	GetTag() (_swig_ret string)
	SetCommand(arg2 string)
	GetCommand() (_swig_ret string)
	SetError(arg2 string)
	GetError() (_swig_ret string)
}

func NewParseResult

func NewParseResult() (_swig_ret ParseResult)

func Parse

func Parse(arg1 string, arg2 StringMap, arg3 string) (_swig_ret ParseResult)

type RFC5322AddressListParser added in v0.12.0

type RFC5322AddressListParser struct {
	// contains filtered or unexported fields
}

func NewRFC5322AddressListParser added in v0.12.0

func NewRFC5322AddressListParser() *RFC5322AddressListParser

func (*RFC5322AddressListParser) Close added in v0.12.0

func (p *RFC5322AddressListParser) Close()

func (*RFC5322AddressListParser) Parse added in v0.12.0

func (p *RFC5322AddressListParser) Parse(input string) ([]*mail.Address, error)

type StringMap

type StringMap interface {
	Swigcptr() uintptr
	SwigIsStringMap()
	Size() (_swig_ret uint)
	Empty() (_swig_ret bool)
	Clear()
	Get(arg2 string) (_swig_ret string)
	Set(arg2 string, arg3 string)
	Del(arg2 string)
	Has_key(arg2 string) (_swig_ret bool)
}

func NewStringMap

func NewStringMap(a ...interface{}) StringMap

func NewStringMap__SWIG_0

func NewStringMap__SWIG_0() (_swig_ret StringMap)

func NewStringMap__SWIG_1

func NewStringMap__SWIG_1(arg1 StringMap) (_swig_ret StringMap)

type SwigcptrParseResult

type SwigcptrParseResult uintptr

func (SwigcptrParseResult) GetCommand

func (arg1 SwigcptrParseResult) GetCommand() (_swig_ret string)

func (SwigcptrParseResult) GetError

func (arg1 SwigcptrParseResult) GetError() (_swig_ret string)

func (SwigcptrParseResult) GetTag

func (arg1 SwigcptrParseResult) GetTag() (_swig_ret string)

func (SwigcptrParseResult) SetCommand

func (arg1 SwigcptrParseResult) SetCommand(arg2 string)

func (SwigcptrParseResult) SetError

func (arg1 SwigcptrParseResult) SetError(arg2 string)

func (SwigcptrParseResult) SetTag

func (arg1 SwigcptrParseResult) SetTag(arg2 string)

func (SwigcptrParseResult) SwigIsParseResult

func (p SwigcptrParseResult) SwigIsParseResult()

func (SwigcptrParseResult) Swigcptr

func (p SwigcptrParseResult) Swigcptr() uintptr

type SwigcptrStringMap

type SwigcptrStringMap uintptr

func (SwigcptrStringMap) Clear

func (arg1 SwigcptrStringMap) Clear()

func (SwigcptrStringMap) Del

func (arg1 SwigcptrStringMap) Del(arg2 string)

func (SwigcptrStringMap) Empty

func (arg1 SwigcptrStringMap) Empty() (_swig_ret bool)

func (SwigcptrStringMap) Get

func (arg1 SwigcptrStringMap) Get(arg2 string) (_swig_ret string)

func (SwigcptrStringMap) Has_key

func (arg1 SwigcptrStringMap) Has_key(arg2 string) (_swig_ret bool)

func (SwigcptrStringMap) Set

func (arg1 SwigcptrStringMap) Set(arg2 string, arg3 string)

func (SwigcptrStringMap) Size

func (arg1 SwigcptrStringMap) Size() (_swig_ret uint)

func (SwigcptrStringMap) SwigIsStringMap

func (p SwigcptrStringMap) SwigIsStringMap()

func (SwigcptrStringMap) Swigcptr

func (p SwigcptrStringMap) Swigcptr() uintptr

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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