frontend

package module
v0.0.0-...-cf826ce Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(vu modules.VU) *Client

func (*Client) Exports

func (c *Client) Exports() modules.Exports

Exports implements the modules.Instance interface and returns the exports of the JS module.

func (*Client) MatchRequest

func (c *Client) MatchRequest(target string, ticket *pb.MatchRequest) (*pb.GameServer, error)

type RootModule

type RootModule struct{}

func (*RootModule) NewModuleInstance

func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance

NewModuleInstance implements the modules.Module interface to return a new instance for each VU.

Jump to

Keyboard shortcuts

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