Documentation ¶
Index ¶
Constants ¶
View Source
const ( // The current SDK Version SDKVersion = "0.1.0" // The SDK Name SDKName = "ec-sdk-go" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDSCredentials ¶ added in v0.1.16
Holds a customer's OAuth 2.0 Credentials
type SDKConfig ¶ added in v0.1.6
type SDKConfig struct { // APIURL contains the base URL for the EdgeCast APIs BaseAPIURL url.URL // BaseLegacyAPIURL contains the base URL for the legacy EdgeCast APIs BaseAPIURLLegacy url.URL // BaseLegacyAPIURL contains the base URL for retrieving IDS tokens BaseIDSURL url.URL Logger eclog.Logger APIToken string IDSCredentials IDSCredentials // The User Agent for outgoing HTTP requests UserAgent string }
Config holds the configuration for SDK services
func NewSDKConfig ¶ added in v0.1.6
func NewSDKConfig() SDKConfig
NewSDKConfig creates a default instance of SDKConfig without credentials
Directories ¶
Path | Synopsis |
---|---|
Package edgecast provides APIs for interacting with the EdgeCast CDN.
|
Package edgecast provides APIs for interacting with the EdgeCast CDN. |
internal
|
|
collectionhelper
Package collectionhelper provides helper methods for working with aggregate/collection types
|
Package collectionhelper provides helper methods for working with aggregate/collection types |
ecclient
Package client provides a base client implementation for interacting with EdgeCast CDN APIs.
|
Package client provides a base client implementation for interacting with EdgeCast CDN APIs. |
jsonhelper
Package jsonhelper provides helper methods for working with JSON
|
Package jsonhelper provides helper methods for working with JSON |
shared
|
|
Package waf provides an API for managing Web Application Firewall for the EdgeCast CDN.
|
Package waf provides an API for managing Web Application Firewall for the EdgeCast CDN. |
Click to show internal directories.
Click to hide internal directories.