Shield
type Shield struct { // contains filtered or unexported fields}Shield is a shielding site within Fastly.
Methods
Backend
View sourceBackend returns a named backend for use with the fsthttp package.
Parameters
- opts: *BackendOptions
Returns
(string, error)
IsRunningOn
View sourcefunc (s *Shield) IsRunningOn() boolIsRunningOn returns whether the Compute node is currently in the shielding site.
Returns
bool