watcher

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Watch

func Watch(ctx context.Context, conn rcon.Console, interval time.Duration, cfg Config) error

Watch watches the RCON server.

Types

type Config added in v0.7.0

type Config struct {
	DataPath   string
	ConfigPath string
}

Config represents the configuration for the watcher.

func NewDefaultConfig added in v0.7.0

func NewDefaultConfig() Config

NewDefaultConfig returns a new default configuration.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL