kun

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: LGPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddProxyServer added in v1.1.0

func AddProxyServer(server common.Server, fingerprint string) error

func AddQian

func AddQian(addr string) error

func AddServer

func AddServer(s common.Server)

func DeleteProxyServer added in v1.1.0

func DeleteProxyServer(serverUuid string) error

func DeleteQian

func DeleteQian(addr string)

func DeleteServer

func DeleteServer(uuid string)

func GetProxyServer added in v1.1.0

func GetProxyServer(serverUuid string) (*common.ProxyServer, error)

func GetProxyServerList added in v1.1.0

func GetProxyServerList() []*common.ProxyServer

func GetQianByUuid added in v1.1.0

func GetQianByUuid(uuid string) *qian

func GetServerList added in v1.1.0

func GetServerList() []common.Server

func UpdateProxyServer added in v1.1.0

func UpdateProxyServer(server common.Server) error

func UpdateServer added in v1.0.2

func UpdateServer(s common.Server)

Types

type QianInfo added in v1.1.0

type QianInfo struct {
	Uuid string `json:"uuid"`
	Addr string `json:"addr"`
}

func GetQianList added in v1.1.0

func GetQianList() []QianInfo

Jump to

Keyboard shortcuts

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