endpoints

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(url string, tokenId string, res *Response) error

func Get

func Get(endpoint string, tokenId string, res *Response) error

func Post

func Post(url string, tokenId string, reqBody string, res *Response) error

Types

type Endpoint

type Endpoint struct {
	Url string
}

type Request

type Request struct {
	Key   string
	Value string
}

type Response

type Response struct {
	Body   []byte
	Status int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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