Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpClient ¶
type HttpClient struct { Host string // contains filtered or unexported fields }
func NewDefaultHttpClient ¶
func NewDefaultHttpClient(host string) HttpClient
func (HttpClient) Get ¶
func (h HttpClient) Get(path string, query map[string]string, result interface{}) error
func (HttpClient) Post ¶
func (h HttpClient) Post(path string, body, result interface{}) error
Click to show internal directories.
Click to hide internal directories.