proxy

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLocalServer

func CreateLocalServer(s *common.Server) error

func CreateRemoteHost

func CreateRemoteHost(r *RemoteHost) error

func DeleteLocalServer

func DeleteLocalServer(uuid string) error

func DeleteRemoteHost

func DeleteRemoteHost(addr string) error

func GetLocalServer

func GetLocalServer(uuid string) (*common.Server, error)

func GetLocalServerList

func GetLocalServerList() ([]*common.Server, error)

func UpdateLocalServer

func UpdateLocalServer(s *common.Server) error

Types

type RemoteHost

type RemoteHost struct {
	Address     string `json:"address"`
	Description string `json:"description"`
}

func GetRemoteHostList

func GetRemoteHostList() ([]*RemoteHost, error)

Jump to

Keyboard shortcuts

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