mclauncher

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2025 License: AGPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const ScopeName = "github.com/kofuk/premises/runner/internal/commands/mclauncher"

Variables

This section is empty.

Functions

func Run

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

Types

type RPCHandler

type RPCHandler struct {
	// contains filtered or unexported fields
}

func NewRPCHandler

func NewRPCHandler(s *rpc.Server, quickUndoService *quickundo.QuickUndoService, rconClient *rcon.Rcon) *RPCHandler

func (*RPCHandler) Bind

func (h *RPCHandler) Bind()

func (*RPCHandler) HandleGameStop

func (h *RPCHandler) HandleGameStop(ctx context.Context, req *rpc.AbstractRequest) error

func (*RPCHandler) HandleSnapshotCreate

func (h *RPCHandler) HandleSnapshotCreate(ctx context.Context, req *rpc.AbstractRequest) error

func (*RPCHandler) HandleSnapshotUndo

func (h *RPCHandler) HandleSnapshotUndo(ctx context.Context, req *rpc.AbstractRequest) error

Directories

Path Synopsis
Package core is a generated GoMock package.
Package core is a generated GoMock package.
middleware
monitoring/watchdog
Package watchdog is a generated GoMock package.
Package watchdog is a generated GoMock package.
world/service
Package service is a generated GoMock package.
Package service is a generated GoMock package.
Package rcon is a generated GoMock package.
Package rcon is a generated GoMock package.

Jump to

Keyboard shortcuts

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