Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLoggedTransport ¶
func NewLoggedTransport(rt http.RoundTripper, log HTTPLogger) http.RoundTripper
NewLoggedTransport ...
Types ¶
type HTTPLogger ¶
type HTTPLogger interface { LogRequest(*http.Request) LogResponse(*http.Request, *http.Response, error, time.Duration) }
HTTPLogger ...
type Mail ¶
type Mail struct { Initialized bool To, From, Subject, Text string // contains filtered or unexported fields }
Mail this defines the email
func DebugMailClient ¶
DebugMailClient creates the default email client
func DefaultMailClient ¶
DefaultMailClient creates the default email client
Click to show internal directories.
Click to hide internal directories.