Documentation
¶
Index ¶
- Variables
- func AdminUserGroupAdd(c *fiber.Ctx) error
- func AdminUserGroupRemove(c *fiber.Ctx) error
- func AdminUserImpersonate(c *fiber.Ctx) error
- func AdminUserList(c *fiber.Ctx) error
- func Document() string
- func RecordAdd(c *fiber.Ctx) error
- func RecordDelete(c *fiber.Ctx) error
- func RecordList(c *fiber.Ctx) error
- func RecordUpdate(c *fiber.Ctx) error
- func Register(app *fiber.App, meta map[string]interface{})
- func UserChangePassword(c *fiber.Ctx) error
- func UserDelete(c *fiber.Ctx) error
- func UserInfo(c *fiber.Ctx) error
- func UserLogin(c *fiber.Ctx) error
- func UserLogout(c *fiber.Ctx) error
- func UserSignup(c *fiber.Ctx) error
- func ZoneAdd(c *fiber.Ctx) error
- func ZoneDelete(c *fiber.Ctx) error
- func ZoneList(c *fiber.Ctx) error
- func ZoneUserAdd(c *fiber.Ctx) error
- func ZoneUserDelete(c *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
var Database *gorm.DB
Database stores the global database for the API
var Suffixes []string
Functions ¶
func AdminUserGroupAdd ¶
func AdminUserGroupAdd(c *fiber.Ctx) error
AdminUserGroupAdd handles a PUT request to add a group to a user
func AdminUserGroupRemove ¶
func AdminUserGroupRemove(c *fiber.Ctx) error
AdminUserGroupRemove handles a DELETE request to remove a group from a user
func AdminUserImpersonate ¶
func AdminUserImpersonate(c *fiber.Ctx) error
AdminUserImpersonate handles a POST request to log in as another user
func AdminUserList ¶
func AdminUserList(c *fiber.Ctx) error
AdminUserList handles a GET request to list all users
func RecordAdd ¶
func RecordAdd(c *fiber.Ctx) error
RecordAdd handles a POST request to add a DNS record
func RecordDelete ¶
func RecordDelete(c *fiber.Ctx) error
RecordDelete handles a DELETE request to delete a DNS record
func RecordList ¶
func RecordList(c *fiber.Ctx) error
RecordList handles a GET request to list records for a zone
func RecordUpdate ¶
func RecordUpdate(c *fiber.Ctx) error
RecordUpdate handles a PUT request to update a DNS record
func Register ¶
func Register(app *fiber.App, meta map[string]interface{})
Register registers route handlers
func UserChangePassword ¶
func UserChangePassword(c *fiber.Ctx) error
UserChangePassword handles a POST request to change a user's password
func UserDelete ¶
func UserDelete(c *fiber.Ctx) error
UserDelete handles a DELETE request to delete a user
func UserInfo ¶
func UserInfo(c *fiber.Ctx) error
UserInfo handles a GET request to get a user's info
func UserLogout ¶
func UserLogout(c *fiber.Ctx) error
UserLogout handles a GET request to log the user out
func ZoneDelete ¶
func ZoneDelete(c *fiber.Ctx) error
ZoneDelete handles a DELETE request to delete a zone
func ZoneList ¶
func ZoneList(c *fiber.Ctx) error
ZoneList handles a GET request to list zones for a user
func ZoneUserAdd ¶
func ZoneUserAdd(c *fiber.Ctx) error
ZoneUserAdd handles a PUT request to add a user to a zone
func ZoneUserDelete ¶
func ZoneUserDelete(c *fiber.Ctx) error
ZoneUserDelete handles a DELETE request to remove a user from a zone
Types ¶
This section is empty.