Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerStartEvent ¶
type ContainerStartEvent struct {
ProxyUID string `json:"proxyUid"`
}
func (ContainerStartEvent) EventType ¶
func (event ContainerStartEvent) EventType() string
type ContainerStopEvent ¶
type ContainerStopEvent struct {
ProxyUID string `json:"proxyUid"`
}
func (ContainerStopEvent) EventType ¶
func (event ContainerStopEvent) EventType() string
type ErrorEvent ¶
func (ErrorEvent) EventType ¶
func (event ErrorEvent) EventType() string
type EventLog ¶
type EventLog struct {
Event string `json:"event"`
Timestamp time.Time `json:"timestamp"`
Payload interface{} `json:"payload"`
}
EventLog
type HTTPClient ¶
HTTPClient represents an interface for the Logger to log events with.
type PlayerJoinEvent ¶
type PlayerJoinEvent struct {
Username string `json:"username"`
RemoteAddress string `json:"remoteAddress"`
TargetAddress string `json:"targetAddress"`
ProxyUID string `json:"proxyUid"`
}
func (PlayerJoinEvent) EventType ¶
func (event PlayerJoinEvent) EventType() string
type PlayerLeaveEvent ¶
type PlayerLeaveEvent struct {
Username string `json:"username"`
RemoteAddress string `json:"remoteAddress"`
TargetAddress string `json:"targetAddress"`
ProxyUID string `json:"proxyUid"`
}
func (PlayerLeaveEvent) EventType ¶
func (event PlayerLeaveEvent) EventType() string
Click to show internal directories.
Click to hide internal directories.