Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ConnectionsGauge keeps track of all active connections ConnectionsGauge = prometheus.NewGauge(prometheus.GaugeOpts{ Name: "wuerfler_connections", Help: "Active connections", }) )
Functions ¶
This section is empty.
Types ¶
type ErrorMessage ¶
ErrorMessage is being sent whenever there is an error
type Message ¶
type Message struct { Type string `json:"type"` Payload json.RawMessage `json:"payload"` }
Message is the general type
type RollPayload ¶
type RollPayload struct {
Dices []uint8 `json:"dices"`
}
RollPayload contains the requested dices
Click to show internal directories.
Click to hide internal directories.