Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PurgeByUrl PurgeTypeValue = "url" PurgeByCpCode PurgeTypeValue = "cpcode" PurgeByCacheTag PurgeTypeValue = "tag" NetworkStaging NetworkValue = "staging" NetworkProduction NetworkValue = "production" )
View Source
var ( // Config contains the Akamai OPEN Edgegrid API credentials // for automatic signing of requests Config edgegrid.Config )
Functions ¶
Types ¶
type NetworkValue ¶
type NetworkValue string
type Purge ¶
type Purge struct {
Objects []string `json:"objects""`
}
func (*Purge) Delete ¶
func (p *Purge) Delete(purgeByType PurgeTypeValue, network NetworkValue) (*PurgeResponse, error)
func (*Purge) Invalidate ¶
func (p *Purge) Invalidate(purgeByType PurgeTypeValue, network NetworkValue) (*PurgeResponse, error)
type PurgeResponse ¶
type PurgeTypeValue ¶
type PurgeTypeValue string
Click to show internal directories.
Click to hide internal directories.