package
Version:
v0.0.0-...-90cf950
Opens a new window with list of versions in this module.
Published: Feb 19, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 21
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
ErrInvalidSignature = errors.New("invalid config signature, potential tampering detected")
ErrConfigNotFound error = &routerConfigNotFoundError{}
)
NewClient creates a new CDN client. URL is the URL of the CDN.
Token is the token used to authenticate with the CDN, the same as the GRAPH_API_TOKEN
type Options struct {
Logger *zap.Logger
SignatureKey string
RouterCompatibilityVersion int
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.