device
github.com/fastly/compute-sdk-go/device
Package device provides device dection based on the User-Agent header.
Variables
Default: errors.New("device not found")
ErrDeviceNotFound is returned when the device is not found.
Default: errors.New("unexpected error")
ErrUnexpected indicates that an unexpected error occurred.