Documentation
¶
Index ¶
- func Delete(url, token string, insecure bool) (*http.Response, error)
- func Error(response *http.Response) error
- func Get(url, token string, params url.Values, insecure bool) (*http.Response, error)
- func GetText(url, token string, params url.Values, insecure bool) (*http.Response, error)
- func NewClient(insecure bool) *http.Client
- func NewDelete(url, token string) (*http.Request, error)
- func NewGet(url, token string, params url.Values) (*http.Request, error)
- func NewPatch(url, token string, body interface{}) (*http.Request, error)
- func NewPost(url, token string, body interface{}) (*http.Request, error)
- func NewPut(url, token string, body interface{}) (*http.Request, error)
- func NewRequest(method, url string, body io.Reader) (*http.Request, error)
- func Patch(url, token string, body interface{}, insecure bool) (*http.Response, error)
- func Post(url, token string, body interface{}, insecure bool) (*http.Response, error)
- func Put(url, token string, body interface{}, insecure bool) (*http.Response, error)
- type GlogWrapper
- type HTTPError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GlogWrapper ¶
type GlogWrapper struct {
}
GlogWrapper is used to wrap glog.info() in a Print() function usable by splunk-cloud-sdk-go
func (*GlogWrapper) Print ¶
func (gw *GlogWrapper) Print(v ...interface{})
Click to show internal directories.
Click to hide internal directories.