api

package
v0.0.0-...-e5ac9a0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2014 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizedCall

func AuthorizedCall(url, auth string, cln lmnHttp.Clientish) (*http.Response, error)

func CallAPI

func CallAPI(srv, api, auth string, cln *http.Client) (*http.Response, error)
func GetNextLink(resp *http.Response) (string, error)

func GetObjFromJSON

func GetObjFromJSON(data *[]byte) (*interface{}, error)

Types

type Pageview

type Pageview map[string]interface{}

Instead of using the Pageview type, we might just want to consider using a map[string]interface{}

Jump to

Keyboard shortcuts

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