1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 13:23:07 +01:00

chore: exposes types (#3461)

This commit is contained in:
Amir Raminfar
2024-12-16 11:01:29 -08:00
committed by GitHub
parent 6479bbba10
commit d02fbae4a9
5 changed files with 8 additions and 4 deletions

22
types/types.go Normal file
View File

@@ -0,0 +1,22 @@
package types
type BeaconEvent struct {
Name string `json:"name"`
Version string `json:"version"`
Browser string `json:"browser"`
AuthProvider string `json:"authProvider"`
FilterLength int `json:"filterLength"`
Clients int `json:"clients"`
HasCustomAddress bool `json:"hasCustomAddress"`
HasCustomBase bool `json:"hasCustomBase"`
HasHostname bool `json:"hasHostname"`
RunningContainers int `json:"runningContainers"`
HasActions bool `json:"hasActions"`
IsSwarmMode bool `json:"isSwarmMode"`
ServerVersion string `json:"serverVersion"`
ServerID string `json:"serverID"`
Mode string `json:"mode"`
RemoteAgents int `json:"remoteAgents"`
RemoteClients int `json:"remoteClients"`
SubCommand string `json:"subCommand"`
}