create

package
v0.0.0-...-58575ba Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	Sender data.EmailSender
	Body   *structs.Payload
}

Request represents the Sender and Body for the email.

func (*Request) Process

func (r *Request) Process() (*Response, error)

Process executes the request to create a new report.

func (Request) String

func (r Request) String() string

String displays a Request

type Response

type Response struct {
	Message string `json:"Message" xml:"Message"`
}

Response is the response to creating or updating a report.

func (Response) String

func (r Response) String() string

String displays a Response

Jump to

Keyboard shortcuts

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