Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator interface { Authenticate(string) (string, bool) RegionFromAuthHeader(string) (string, string, bool) }
func NewAuthenticator ¶
func NewAuthenticator() Authenticator
1234deadbeefcafe=1:c0ffeec0ffeec0ffee=2 These are two keys with region IDs 1 and 2 respectively. Keys should be much longer than this but still hexadecimal.
Click to show internal directories.
Click to hide internal directories.