Documentation
¶
Index ¶
- type Configuration
- type RestClient
- func (rc *RestClient) Delete(url string, headers http.Header) (*http.Response, error)
- func (rc *RestClient) Get(url string, headers http.Header) (*http.Response, error)
- func (rc *RestClient) Post(url string, jsonValue []byte, headers http.Header) (*http.Response, error)
- func (rc *RestClient) Put(url string, jsonValue []byte, headers http.Header) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct {
}
type RestClient ¶
type RestClient struct {
Client *http.Client
Configuration *Configuration
}
func NewRestClient ¶
func NewRestClient(configuration *Configuration) *RestClient
Click to show internal directories.
Click to hide internal directories.