api

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2015 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIv1

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

APIv1 implements version 1 of the MailHog API

The specification has been frozen and will eventually be deprecated. Only bug fixes and non-breaking changes will be applied here.

Any changes/additions should be added in APIv2.

func CreateAPIv1

func CreateAPIv1(conf *config.Config, app *gotcha.App) *APIv1

type APIv2

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

APIv2 implements version 2 of the MailHog API

It is currently experimental and may change in future releases. Use APIv1 for guaranteed compatibility.

func CreateAPIv2

func CreateAPIv2(conf *config.Config, app *gotcha.App) *APIv2

type ReleaseConfig

type ReleaseConfig config.OutgoingSMTP

ReleaseConfig is an alias to preserve go package API

Jump to

Keyboard shortcuts

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