client

package
v0.0.0-...-9e73d75 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2016 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Request = gorequest.New()

Functions

This section is empty.

Types

type Error

type Error struct {
	Path    string `json:"path"`
	Message string `json:"message"`
}

type WASP

type WASP struct {
	Url       string
	AuthToken string
}

func (*WASP) Delete

func (w *WASP) Delete(path string) (string, error)

Delete a configuration (it deletes recursively)

func (*WASP) Get

func (w *WASP) Get(basepath string) (string, error)

Get the configuration as a json string for the basepath

func (*WASP) List

func (w *WASP) List(basepath string) (string, error)

Get the list of available keys from the basepath

func (*WASP) Put

func (w *WASP) Put(path string, config string) (string, error)

func (*WASP) SetToken

func (w *WASP) SetToken(token string)

Jump to

Keyboard shortcuts

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