client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(host string, port int) *Client

func (*Client) GetConfig

func (c *Client) GetConfig() (string, error)

func (*Client) GetProxyStatus

func (c *Client) GetProxyStatus(name string) (*client.ProxyStatusResp, error)

func (*Client) Reload

func (c *Client) Reload() error

func (*Client) SetAuth

func (c *Client) SetAuth(user, pwd string)

func (*Client) UpdateConfig

func (c *Client) UpdateConfig(content string) error

Jump to

Keyboard shortcuts

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