protocols

package
v0.0.0-...-ead9e3a Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2016 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallJSON

func CallJSON(X, cmd string, options, headers map[string]string) ([]byte, error)

func Get

func Get(cmd string, options, headers map[string]string) ([]byte, error)

func ListProtocols

func ListProtocols() string

func RegisterDriver

func RegisterDriver(name string, creator NewFunc)

Types

type Driver

type Driver interface {
	Set()
}

func CreateNew

func CreateNew(name, host, ip, login, password string) (Driver, error)

type NewFunc

type NewFunc func(host, ip, login, password string) (Driver, error)

Jump to

Keyboard shortcuts

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