Help us shape the future of Go! Take the 2026 Go Developer Survey

mod

package
v1.0.83 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(conn *grpc.ClientConn) *Handler

func (*Handler) GetModConfig

func (h *Handler) GetModConfig() (*pbModels.ModConfig, error)

func (*Handler) PollModConfig

func (h *Handler) PollModConfig()

Poll once per second just like PollTasks

func (*Handler) ProcessModConfig

func (h *Handler) ProcessModConfig(cfg *pbModels.ModConfig) error

Logic for processing / updating the mods on the client

func (*Handler) Run

func (h *Handler) Run()

func (*Handler) Stop

func (h *Handler) Stop()

func (*Handler) UpdateModConfig

func (h *Handler) UpdateModConfig(cfg *pbModels.ModConfig) error

Jump to

Keyboard shortcuts

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