Documentation
¶
Index ¶
- Variables
- type Client
- func (c *Client) GetConfigs() (*model.Config, error)
- func (c *Client) GetDelay(ctx context.Context, proxy string) (*model.Delay, error)
- func (c *Client) GetLogs(ctx context.Context) (io.ReadCloser, error)
- func (c *Client) GetProxies() (*model.Proxies, error)
- func (c *Client) GetTraffics(ctx context.Context) (io.ReadCloser, error)
- func (c *Client) UpdateMode(mode T.Mode) error
- func (c *Client) UpdateProxy(group, proxy string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DelayTestError = errors.New("503: An error occurred in the delay test") DelayTestTimeout = errors.New("408: Timeout") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
BaseURL string
}
func (*Client) GetTraffics ¶
func (*Client) UpdateProxy ¶
Click to show internal directories.
Click to hide internal directories.