Documentation ¶
Overview ¶
Package sdk is the Go game server sdk
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SDK ¶
type SDK struct {
// contains filtered or unexported fields
}
SDK is an instance of the Agones SDK
func NewSDK ¶
NewSDK starts a new SDK instance, and connects to localhost on port 59357. Blocks until connection and handshake are made. Times out after 30 seconds.
func (*SDK) GameServer ¶ added in v0.3.0
func (s *SDK) GameServer() (*sdk.GameServer, error)
GameServer retrieve the GameServer details
func (*SDK) Health ¶
Health sends a ping to the health check to indicate that this server is healthy
Click to show internal directories.
Click to hide internal directories.