client

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GET_CLAN

func GET_CLAN(data interface{}) *struct{}

func GET_USER

func GET_USER(data interface{}) *struct{}

Types

type Client

type Client struct {
	FirstName string
	LastName  string
	Room      *Room
}

func New

func New() *Client

func (*Client) HandlerEvents

func (cl *Client) HandlerEvents(dataType string, data interface{})

func (*Client) Send

func (cl *Client) Send(data interface{})

type IClient

type IClient interface {
	HandlerEvents(dataType string, data interface{})
}

type Room

type Room struct {
	ID string
}

Clan struct

func (*Room) UpdateBg

func (r *Room) UpdateBg()

type RoomList

type RoomList map[string]*Room

Jump to

Keyboard shortcuts

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