helpers

package
v0.0.0-...-bbf1054 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2015 License: ISC Imports: 6 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TLSConfig

func TLSConfig(c *cfg.Config) *tls.Config

func UnquoteIfNeeded

func UnquoteIfNeeded(source string, quoteChar rune) string

UnquoteIfNeeded unwraps a string that is quoted between a given sign. If the source string is not wrapped in this char, it will be returned as is.

Types

type MailAddress

type MailAddress string

func (MailAddress) DomainPart

func (addr MailAddress) DomainPart() (string, error)

func (MailAddress) Valid

func (addr MailAddress) Valid() bool

Jump to

Keyboard shortcuts

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