api

package
v0.0.0-...-28756f2 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 License: LGPL-3.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MAAS

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

func NewMASS

func NewMASS(baseURL string, apiVersion string, apiKey string) (*MAAS, error)

func (*MAAS) Delete

func (m *MAAS) Delete(path string) error

func (*MAAS) Get

func (m *MAAS) Get(path string, op string, params url.Values) ([]byte, error)

func (*MAAS) GetAPIVersionInfo

func (m *MAAS) GetAPIVersionInfo() (set.Strings, error)

func (*MAAS) Post

func (m *MAAS) Post(path string, op string, params url.Values) ([]byte, error)

func (*MAAS) PostFile

func (m *MAAS) PostFile(path string, op string, params url.Values, fc []byte) ([]byte, error)

func (*MAAS) Put

func (m *MAAS) Put(path string, params url.Values) ([]byte, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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