mirror of
https://github.com/h44z/wg-portal.git
synced 2025-04-19 08:55:12 +00:00
Public REST API implementation to handle peers, interfaces and users. It also includes some simple provisioning endpoints. The Swagger API documentation is available under /api/v1/doc.html
14 lines
359 B
Go
14 lines
359 B
Go
package model
|
|
|
|
type Error struct {
|
|
Code int `json:"Code"`
|
|
Message string `json:"Message"`
|
|
}
|
|
|
|
type Settings struct {
|
|
MailLinkOnly bool `json:"MailLinkOnly"`
|
|
PersistentConfigSupported bool `json:"PersistentConfigSupported"`
|
|
SelfProvisioning bool `json:"SelfProvisioning"`
|
|
ApiAdminOnly bool `json:"ApiAdminOnly"`
|
|
}
|