Documentation
¶
Overview ¶
Package edgecast provides APIs for interacting with the EdgeCast CDN.
For more information about EdgeCast, refer to: https://docs.edgecast.com/
For API documentation, refer to: https://developer.edgecast.com/cdn/api/index.html
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 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 logging.Logger
APIToken string
IDSCredentials auth.OAuth2Credentials
// 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( apiToken string, idsCredentials auth.OAuth2Credentials, ) SDKConfig
Directories
¶
| Path | Synopsis |
|---|---|
|
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. |
|
internal
|
|
|
collections
Package collection provides helper methods for working with aggregate/collection types
|
Package collection provides helper methods for working with aggregate/collection types |
|
jsonutil
Package jsonutil provides helper methods for working with JSON
|
Package jsonutil provides helper methods for working with JSON |
|
urlutil
Package urlutil provides helper methods for working with URLs
|
Package urlutil provides helper methods for working with URLs |
|
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.