user

package
v0.0.0-...-71ffa5d Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID              int    `json:"id"`
	Login           string `json:"login"`
	CurrentPlayerID int    `json:"current_player_id"`
	// contains filtered or unexported fields
}

func (*User) GetCurrentPlayerID

func (u *User) GetCurrentPlayerID() int

func (*User) GetID

func (u *User) GetID() int

func (*User) Send

func (u *User) Send(binData []byte, data interface{}) error

func (*User) SetConnect

func (u *User) SetConnect(connect *websocket.Conn)

func (*User) SetCurrentPlayerID

func (u *User) SetCurrentPlayerID(id int)

Jump to

Keyboard shortcuts

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