Documentation ¶
Index ¶
- func Bool(v bool) *bool
- func BoolValue(v *bool) bool
- func Float32(v float32) *float32
- func Float32Value(v *float32) float32
- func Int(v int) *int
- func Int32(v int32) *int32
- func Int32String(n int32) *string
- func Int32Value(v *int32) int32
- func Int64(v int64) *int64
- func Int64Value(v *int64) int64
- func IntString(n int) *string
- func IntValue(v *int) int
- func String(v string) *string
- func StringInterfaceList(i []interface{}) []*string
- func StringList(s []string) []*string
- func StringListValue(input []*string) []string
- func StringValue(v *string) string
- type APIKey
- type Configuration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float32Value ¶
func Int32String ¶ added in v1.5.0
func Int32Value ¶
func Int64Value ¶
func StringInterfaceList ¶
func StringInterfaceList(i []interface{}) []*string
func StringList ¶
func StringListValue ¶
func StringValue ¶
Types ¶
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client APIKey *APIKey Credentials *credentials.Credentials }
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
func (*Configuration) GetCredentials ¶ added in v1.3.0
func (c *Configuration) GetCredentials() *credentials.Credentials
func (*Configuration) InitCredentials ¶ added in v1.3.0
func (c *Configuration) InitCredentials()
func (*Configuration) ValidCredentials ¶ added in v1.3.0
func (c *Configuration) ValidCredentials() bool
Click to show internal directories.
Click to hide internal directories.