handler

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: 42 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CacheKeyWorlds           = "worlds"
	CacheKeyMCVersions       = "mcversions"
	CacheKeySystemInfoPrefix = "system-info"
)
View Source
const ScopeName = "github.com/kofuk/premises/controlpanel/internal/handler"

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	KVS               kvs.KeyValueStore
	MCVersionsService *mcversions.MCVersionsService
	StreamingService  *streaming.StreamingService
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(cfg *config.Config, bindAddr string, db *bun.DB, redis *redis.Client, worldService *world.WorldService, longpoll *longpoll.LongPollService, kvs kvs.KeyValueStore, launcher *launcher.LauncherService) (*Handler, error)

func (*Handler) Start

func (h *Handler) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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