edgecast

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: Apache-2.0 Imports: 4 Imported by: 5

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.

Jump to

Keyboard shortcuts

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