com

package
v0.0.0-...-d853fe5 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BinaryExtension extension used on unix
	BinaryExtension = ""
	// StopSignal syscall used to stop server
	StopSignal = syscall.SIGTERM
)

Variables

This section is empty.

Functions

func CheckErrorOrQuit

func CheckErrorOrQuit(err error, msg string)

func IsDir

func IsDir(path string) bool

func ShowMsg

func ShowMsg(format string, a ...any)

func ShowMsgAndQuit

func ShowMsgAndQuit(format string, a ...any)

Types

type Env

type Env struct {
	GoBBQRoot string
}

Env represents environment variables

var RunEnv Env

type ServerID

type ServerID string

ServerID represents a server

func (ServerID) Name

func (sid ServerID) Name() string

Name returns the name of the server

func (ServerID) Path

func (sid ServerID) Path() string

Path returns the path to the server

Jump to

Keyboard shortcuts

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