server

package
v0.4.0-beta6 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoSettings

type AutoSettings struct {
	ErrorMessage string
}

type CharacterSettings

type CharacterSettings struct {
	ErrorMessage string
	Supervisor   string
	Config       *config.CharacterCfg
	EnabledRuns  []string
	DisabledRuns []string
	AvailableTZs map[int]string
}

type ConfigData

type ConfigData struct {
	ErrorMessage string
	*config.KooloCfg
}

type HttpServer

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

func New

func New(logger *slog.Logger, manager *koolo.SupervisorManager) (*HttpServer, error)

func (*HttpServer) Listen

func (s *HttpServer) Listen(port int) error

type IndexData

type IndexData struct {
	ErrorMessage string
	Version      string
	Status       map[string]koolo.Stats
}

Jump to

Keyboard shortcuts

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