biz

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAKSK

func GetAKSK() (ak string, sk string)

func GetInstanceID

func GetInstanceID(serverName *string, serverID *int64) string

func GetServer

func GetServer(serverName *string, serverID *int64) *model.MCServerInfo

func GetServerByInstanceID

func GetServerByInstanceID(instanceID string) *model.MCServerInfo

func GetServerByServerID

func GetServerByServerID(id int64) *model.MCServerInfo

func GetServerByServerName

func GetServerByServerName(serverName string) *model.MCServerInfo

func GetServerConfigList

func GetServerConfigList() []*model.MCServerInfo

func InitConfig

func InitConfig()

func InitResourceManager

func InitResourceManager()

Types

type MinecraftServerManager

type MinecraftServerManager struct {
	*base_handler.BaseHandler
	// contains filtered or unexported fields
}

func (*MinecraftServerManager) QueryServer

func (h *MinecraftServerManager) QueryServer() error

func (*MinecraftServerManager) QueryServerList

func (h *MinecraftServerManager) QueryServerList() error

func (*MinecraftServerManager) Run

func (*MinecraftServerManager) SendMessage

func (h *MinecraftServerManager) SendMessage() error

func (*MinecraftServerManager) StartServer

func (h *MinecraftServerManager) StartServer() error

func (*MinecraftServerManager) StopServer

func (h *MinecraftServerManager) StopServer() error

Jump to

Keyboard shortcuts

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