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