webservice

package
v0.0.0-...-43d62ff Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Webservice

type Webservice struct {
	// contains filtered or unexported fields
}

func NewWebService

func NewWebService() (*Webservice, error)

func (*Webservice) Delete

func (w *Webservice) Delete(endpoint string) (error, []byte, int)

func (*Webservice) Get

func (w *Webservice) Get(endpoint string) (error, []byte, int)

func (*Webservice) GetFile

func (w *Webservice) GetFile(endpoint string, directoryPath string) (string, error)

func (*Webservice) Post

func (w *Webservice) Post(endpoint string, json []byte) (error, []byte, int)

func (*Webservice) Put

func (w *Webservice) Put(endpoint string, json []byte) (error, []byte, int)

Jump to

Keyboard shortcuts

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