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)
Click to show internal directories.
Click to hide internal directories.