http

package
v0.0.0-...-72504b9 Latest Latest
Warning

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

Go to latest
Published: May 30, 2019 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 Client

type Client struct {
	Config *checkpoint.Config
	Sling  *sling.Sling
}

func NewClient

func NewClient(config *checkpoint.Config) *Client

func (*Client) Reset

func (c *Client) Reset()

Reset the sling object. Removes the session token.

func (*Client) Send

func (c *Client) Send(req *request.Request, successOutput interface{})

Send the request vi Sling.Receive()

func (*Client) SetHeader

func (c *Client) SetHeader(k, v string)

Set a header to the base sling object

Jump to

Keyboard shortcuts

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