Documentation
¶
Overview ¶
Package anubis contains the version number of Anubis.
Index ¶
Constants ¶
const APIPrefix = "/.within.website/x/cmd/anubis/api/"
APIPrefix is the location where all Anubis API endpoints are located.
const CookieDefaultExpirationTime = 7 * 24 * time.Hour
CookieDefaultExpirationTime is the amount of time before the cookie/JWT expires.
const CookieName = "techaro.lol-anubis-auth"
CookieName is the name of the cookie that Anubis uses in order to validate access.
const DefaultDifficulty = 4
DefaultDifficulty is the default "difficulty" (number of leading zeroes) that must be met by the client in order to pass the challenge.
const StaticPath = "/.within.website/x/cmd/anubis/"
StaticPath is the location where all static Anubis assets are located.
const TestCookieName = "techaro.lol-anubis-cookie-test-if-you-block-this-anubis-wont-work"
const WithDomainCookieName = "techaro.lol-anubis-auth-for-"
WithDomainCookieName is the name that is prepended to the per-domain cookie used when COOKIE_DOMAIN is set.
Variables ¶
var BasePrefix = ""
BasePrefix is a global prefix for all Anubis endpoints. Can be emptied to remove the prefix entirely.
var Version = "devel"
Version is the current version of Anubis.
This variable is set at build time using the -X linker flag. If not set, it defaults to "devel".
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
templ: version: v0.3.865
|
templ: version: v0.3.865 |
Package xess vendors a copy of Xess and makes it available at /.xess/xess.css
|
Package xess vendors a copy of Xess and makes it available at /.xess/xess.css |