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 ¶
AdminUserGroupAdd handles a PUT request to add a group to a user
func AdminUserGroupRemove ¶
AdminUserGroupRemove handles a DELETE request to remove a group from a user
func AdminUserImpersonate ¶
AdminUserImpersonate handles a POST request to log in as another user
func AdminUserList ¶
AdminUserList handles a GET request to list all users
func RecordDelete ¶
RecordDelete handles a DELETE request to delete a DNS record
func RecordList ¶
RecordList handles a GET request to list records for a zone
func RecordUpdate ¶
RecordUpdate handles a PUT request to update a DNS record
func UserChangePassword ¶
UserChangePassword handles a POST request to change a user's password
func UserDelete ¶
UserDelete handles a DELETE request to delete a user
func UserLogout ¶
UserLogout handles a GET request to log the user out
func ZoneDelete ¶
ZoneDelete handles a DELETE request to delete a zone
func ZoneUserAdd ¶
ZoneUserAdd handles a PUT request to add a user to a zone
func ZoneUserDelete ¶
ZoneUserDelete handles a DELETE request to remove a user from a zone
Types ¶
This section is empty.