backends

package
v0.0.0-...-faf2ab7 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionConfig

type ConnectionConfig struct {
	Name          string
	LocalAddress  string "local_address"
	RemoteAddress string "remote_address"
	Url           string
}

func ParseConnection

func ParseConnection(connection string) (*ConnectionConfig, error)

func ParseConnectionsParameter

func ParseConnectionsParameter(connectionsArg string) ([]ConnectionConfig, error)

type ReadOnly

type ReadOnly interface {
	GetProxyConfigurations() ([]ConnectionConfig, error)
	IsPollable() bool
}

type ReadWrite

type ReadWrite interface {
	CreateProxyConfiguration(proxy_configuration string) error
	DeleteProxyConfiguration(proxy_configuration string) error
	GetProxyConfigurations() ([]ConnectionConfig, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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