Documentation ¶
Index ¶
Constants ¶
View Source
const ( MB = 1048576 MaxSize = 16 * MB )
Defines the maximum size for sanitized requests
Variables ¶
View Source
var AccessLogLocation string = "log/access.log"
Default location for access log
View Source
var ClientRegistryLocation string = "clients.db"
Default location for client db
Functions ¶
func AddClient ¶
Add a Authorized API Client to Arbor Will return an API key on successful addition Will return DB error if there is an issue
func DeleteClient ¶
func IsAuthorizedClient ¶
Verify if a key provided by a client is vaild
func ListClients ¶
func SanitizeRequest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.