mirror of
https://github.com/h44z/wg-portal.git
synced 2025-11-09 18:46:20 +00:00
feat: add simple audit ui
This commit is contained in:
18
internal/app/audit/events.go
Normal file
18
internal/app/audit/events.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package audit
|
||||
|
||||
import "github.com/h44z/wg-portal/internal/domain"
|
||||
|
||||
type AuthEvent struct {
|
||||
Username string
|
||||
Error string
|
||||
}
|
||||
|
||||
type InterfaceEvent struct {
|
||||
Interface domain.Interface
|
||||
Action string
|
||||
}
|
||||
|
||||
type PeerEvent struct {
|
||||
Peer domain.Peer
|
||||
Action string
|
||||
}
|
||||
Reference in New Issue
Block a user