Versions in this module Expand all Collapse all v0 v0.1.0 Feb 16, 2023 Changes in this version + const MaxRequestSize + type Dispatcher struct + func NewDispatcher(timeout time.Duration, httpProxy string) (*Dispatcher, error) + func (d *Dispatcher) ForwardCliEvent(url string, method string, jsonData json.RawMessage, ...) (*Response, error) + func (d *Dispatcher) SendCliRequest(url string, method string, apiKey string, jsonData json.RawMessage) (*Response, error) + type Response struct + Body []byte + Error string + IP string + Method string + RequestHeader http.Header + ResponseHeader http.Header + Status string + StatusCode int + URL *url.URL