mirror of
https://github.com/h44z/wg-portal
synced 2025-02-26 05:49:14 +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
16 lines
603 B
Go
16 lines
603 B
Go
package app
|
|
|
|
const TopicUserCreated = "user:created"
|
|
const TopicUserApiEnabled = "user:api:enabled"
|
|
const TopicUserApiDisabled = "user:api:disabled"
|
|
const TopicUserRegistered = "user:registered"
|
|
const TopicUserDisabled = "user:disabled"
|
|
const TopicUserEnabled = "user:enabled"
|
|
const TopicUserDeleted = "user:deleted"
|
|
const TopicAuthLogin = "auth:login"
|
|
const TopicRouteUpdate = "route:update"
|
|
const TopicRouteRemove = "route:remove"
|
|
const TopicInterfaceUpdated = "interface:updated"
|
|
const TopicPeerInterfaceUpdated = "peer:interface:updated"
|
|
const TopicPeerIdentifierUpdated = "peer:identifier:updated"
|