Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogLoop ¶
Types ¶
type RConPool ¶
type RConPool interface {
WithConnection(ctx context.Context, f func(c *rcon.Connection)) error
}
type StructuredLogLine ¶
type StructuredLogLine struct { Raw string Timestamp time.Time Action string Actor Player Subject Player Weapon string Message string Rest string }
func ParseLogLine ¶
func ParseLogLine(line string) (StructuredLogLine, error)
func (*StructuredLogLine) String ¶
func (l *StructuredLogLine) String() string
Click to show internal directories.
Click to hide internal directories.