mailinator

package
v9.9.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	APIToken string
}

func NewClient

func NewClient(token string) *Client

func (*Client) GetMessageList

func (c *Client) GetMessageList(email string) (*InboxListResponse, error)

type InboxListMessage

type InboxListMessage struct {
	Subject string `json:"subject"`
	From    string `json:"from"`
	To      string `json:"to"`
}

type InboxListResponse

type InboxListResponse struct {
	Messages []InboxListMessage `json:"messages"`
}

Jump to

Keyboard shortcuts

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