tyVpnRouteClient

package
v0.0.0-...-f254aa5 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rpc_Client

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

func Rpc_NewClient

func Rpc_NewClient(addr string) *Rpc_Client

func (*Rpc_Client) GetIp

func (c *Rpc_Client) GetIp() (fo1 string, RpcErr *udwRpc2.RpcError)

func (*Rpc_Client) Ping

func (c *Rpc_Client) Ping() (RpcErr *udwRpc2.RpcError)

func (*Rpc_Client) VpnNodeList

func (c *Rpc_Client) VpnNodeList() (fo1 []VpnNode, RpcErr *udwRpc2.RpcError)

func (*Rpc_Client) VpnNodeRegister

func (c *Rpc_Client) VpnNodeRegister(fi2 VpnNode) (fo1 string, RpcErr *udwRpc2.RpcError)

type VpnNode

type VpnNode struct {
	Ip         string `json:",omitempty"`
	ServerChk  string `json:",omitempty"`
	UpdateTime time.Time
}

Jump to

Keyboard shortcuts

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