api

package
v0.0.0-...-746b095 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	BaseURL   string
	Endpoints map[string]string
}

func (API) EncodeOpts

func (API) EncodeOpts(opts interface{}) string

func (API) Get

func (api API) Get(endpoint string, opts string) (string, error)

type Opts

type Opts struct {
	APICode string `url:"api_code,omitempty"`
}

Jump to

Keyboard shortcuts

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