Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) IsRunning() bool
- func (c *Client) Run(ctx context.Context) error
- func (c *Client) RunBackGround(ctx context.Context) <-chan error
- func (c *Client) ServeHTTP(rw http.ResponseWriter, req *http.Request)
- func (c *Client) SetHTTPClient(client *http.Client) *Client
- func (c *Client) SetLabels(labels map[string]string) *Client
- func (c *Client) SetLogger(logger Logger) *Client
- func (c *Client) SetModifyRequest(fn func(r *http.Request) *http.Request) *Client
- type Logger
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrClientStillRunning = errors.New("client is running")
)
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.