Stanislav N. aka pztrn
6ce7747dd5
giredorectl now able to interact with giredored about: * Setting package data. There is no such thing as "create" or "update", just set. * Deleting package data. * Setting allowed IP addresses. This is the only authorization method ATM, more may come in future.
13 lines
524 B
Go
13 lines
524 B
Go
package structs
|
|
|
|
const (
|
|
ErrInvalidAllowedIPDefined Error = "Invalid allowed IP address defined."
|
|
ErrIPAddressNotAllowed Error = "IP address not allowed to access configuration API."
|
|
ErrPackageWasntDefined Error = "Passed package wasn't defined."
|
|
ErrParsingAllowedIPsSetRequest Error = "Error parsing allowed IPs request."
|
|
ErrParsingDeleteRequest Error = "Delete request parsing failed"
|
|
ErrParsingPackagesGetRequest Error = "Error parsing package(s) info get request"
|
|
)
|
|
|
|
type Error string
|