cli

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRPCCommand

func NewRPCCommand() *cobra.Command

func NewRconCommand

func NewRconCommand() *cobra.Command

func Run

func Run(ctx context.Context, args []string) int

Types

type RPC

type RPC struct {
	Path        string
	RequestType string
	Method      string
}

func (*RPC) Run

func (r *RPC) Run(ctx context.Context) error

type Rcon

type Rcon struct {
	Address  string
	Password string
	// contains filtered or unexported fields
}

func (*Rcon) Run

func (r *Rcon) Run() error

Jump to

Keyboard shortcuts

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