Documentation ¶
Index ¶
- type Client
- func (c *Client) GetAllProxyStatus() (client.StatusResp, error)
- func (c *Client) GetConfig() (string, error)
- func (c *Client) GetProxyStatus(name string) (*client.ProxyStatusResp, error)
- func (c *Client) Reload(strictMode bool) error
- func (c *Client) SetAuth(user, pwd string)
- func (c *Client) Stop() error
- func (c *Client) UpdateConfig(content string) error
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 (*Client) GetAllProxyStatus ¶
func (c *Client) GetAllProxyStatus() (client.StatusResp, error)
func (*Client) GetProxyStatus ¶
func (c *Client) GetProxyStatus(name string) (*client.ProxyStatusResp, error)
func (*Client) UpdateConfig ¶
Click to show internal directories.
Click to hide internal directories.