edgecast

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 3 Imported by: 5

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

type IDSCredentials struct {
	ClientID     string
	ClientSecret string
	Scope        string
}

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
cps
dcv
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
waf
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL