runtime

package
v0.0.0-...-46547a1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: ISC Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const NextEventPath = "/2018-06-01/runtime/invocation/next"
View Source
const ResponseErrorPath = "/2018-06-01/runtime/invocation/%s/error"
View Source
const ResponsePath = "/2018-06-01/runtime/invocation/%s/response"
View Source
const RuntimeInitErrorPath = "/2018-06-01/runtime/init/error"
View Source
const UserAgent = "OverlazyRuntimeGoClient"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	BaseURL   *url.URL
	UserAgent string
	// contains filtered or unexported fields
}

func New

func New(client *http.Client) *Client

func (*Client) GetInvocation

func (c *Client) GetInvocation() (string, int64, error)

func (*Client) PostError

func (c *Client) PostError(requestId string, body string) error

func (*Client) PostInitializationError

func (c *Client) PostInitializationError(body string) error

func (*Client) PostResponse

func (c *Client) PostResponse(requestId string, body string) error

Jump to

Keyboard shortcuts

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