Documentation
¶
Overview ¶
Package fakeapi is a token-authenticated HTTPS API for tests: a stand-in for a provider such as a CDN or analytics service.
Index ¶
Constants ¶
View Source
const ( Good = "fake-good-token" NoScope = "fake-noscope-token" Limited = "fake-limited-token" Broken = "fake-broken-token" NotJSON = "fake-notjson-token" AccountID = "acct-1" Label = "Acme Production" )
Tokens with fixed behaviour. Any other token is rejected with 401.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.