Documentation ¶
Index ¶
Constants ¶
View Source
const ( AirdbSuccess uint = 20000 AirdbFailed uint = 20001 AirdbAuthFailed uint = 20002 AirdbUndefined uint = 24999 AirdbUnknown uint = 25000 )
Airdb error codes for user.
View Source
const ( RoleGuest = iota + 1 RoleDeveloper RoleSRE RolePM RoleOwner RoleAdmin )
View Source
const ( PermRead = iota + 1 PermWrite PermCreate PermDelete PermUpdate )
Variables ¶
View Source
var CodeMap = map[uint]string{ AirdbSuccess: "Success", AirdbFailed: "Failed", AirdbAuthFailed: "Auth failed", AirdbUndefined: "Undefined", AirdbUnknown: "Uknown error", }
Functions ¶
func GetEnvList ¶
func GetEnvList() (envList []string)
Types ¶
Click to show internal directories.
Click to hide internal directories.