Documentation
¶
Index ¶
Constants ¶
View Source
const MaxRequestSize = 50 * 1024 //50KB
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
func NewDispatcher ¶
func NewDispatcher(timeout time.Duration, httpProxy string) (*Dispatcher, error)
func (*Dispatcher) ForwardCliEvent ¶
func (d *Dispatcher) ForwardCliEvent(url string, method string, jsonData json.RawMessage, headers httpheader.HTTPHeader) (*Response, error)
func (*Dispatcher) SendCliRequest ¶
func (d *Dispatcher) SendCliRequest(url string, method string, apiKey string, jsonData json.RawMessage) (*Response, error)
Click to show internal directories.
Click to hide internal directories.