Documentation ¶
Index ¶
- type CloudflareSurrogateStorage
- func (s CloudflareSurrogateStorage) Destruct() error
- func (s CloudflareSurrogateStorage) GetSurrogateControl(header http.Header) string
- func (s CloudflareSurrogateStorage) List() map[string]string
- func (s CloudflareSurrogateStorage) ParseHeaders(value string) []string
- func (c *CloudflareSurrogateStorage) Purge(header http.Header) (cacheKeys []string, surrogateKeys []string)
- func (c *CloudflareSurrogateStorage) Store(response *http.Response, cacheKey string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudflareSurrogateStorage ¶
type CloudflareSurrogateStorage struct {
// contains filtered or unexported fields
}
CloudflareSurrogateStorage is the layer for Surrogate-key support storage
func (CloudflareSurrogateStorage) Destruct ¶
func (s CloudflareSurrogateStorage) Destruct() error
Destruct method will shutdown properly the provider
func (CloudflareSurrogateStorage) GetSurrogateControl ¶
func (CloudflareSurrogateStorage) ParseHeaders ¶
Click to show internal directories.
Click to hide internal directories.