gate

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Services is All services in gate server
	Services = &component.Components{}
)

Functions

This section is empty.

Types

type BindService

type BindService struct {
	component.Base
	// contains filtered or unexported fields
}

func (*BindService) BindChatServer

func (bs *BindService) BindChatServer(s *session.Session, msg []byte) error

func (*BindService) Login

func (bs *BindService) Login(s *session.Session, msg *LoginRequest) error

type LoginRequest

type LoginRequest struct {
	Nickname string `json:"nickname"`
}

type LoginResponse

type LoginResponse struct {
	Code int `json:"code"`
}

Jump to

Keyboard shortcuts

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