config

package
v0.0.0-...-165f5b9 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProgramName = "squeetop"
	HttpPort    = 9000
	ApiPort     = 9090
)

Variables

This section is empty.

Functions

func InputConfig

func InputConfig(config *Params) error

func StoreConfig

func StoreConfig(config *Params) error

Types

type Params

type Params struct {
	ServerHost string
	PlayerName string
}

func ParseConfig

func ParseConfig() (Params, error)

func (Params) InterfaceURL

func (p Params) InterfaceURL() string

Jump to

Keyboard shortcuts

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