Documentation
¶
Index ¶
Constants ¶
View Source
const RouterRequestTimeout = time.Second * 10
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TRConsistentHashRequest ¶
type TRConsistentHashRequest struct {
ConsistentHashRegex string `json:"regex"`
RequestPath string `json:"requestPath"`
CdnID int64 `json:"cdnId"`
}
struct for the incoming request object
type TRConsistentHashResult ¶
type TRConsistentHashResult struct {
ResultingPathToConsistentHash string `json:"resultingPathToConsistentHash"`
ConsistentHashRegex string `json:"consistentHashRegex"`
RequestPath string `json:"requestPath"`
}
struct for the response object from Traffic Router
Click to show internal directories.
Click to hide internal directories.