gate

package
Version: v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// All services in master 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