agones

package
v0.0.0-...-cb81ebf Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StartAsyncServerFunc func(mapId string) = nil

Functions

func DoHealth

func DoHealth(ctx context.Context)

func Exit

func Exit()

func GetAgonesSDK

func GetAgonesSDK() *sdk.SDK

func GetGameServer

func GetGameServer() *coresdk.GameServer

func InitAgones

func InitAgones()

func InitServer

func InitServer(ctx context.Context)

func Ready

func Ready()

func WatchEvents

func WatchEvents()

Types

type GameServer

type GameServer struct {
	Ip      string
	Port    int32
	PodName string
}

func CreateGameRoom

func CreateGameRoom(region, fleetId, mapId, platform, version string) (*GameServer, error)

func MockLocalGameServer

func MockLocalGameServer() (*GameServer, error)

Jump to

Keyboard shortcuts

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