gate

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2020 License: MIT Imports: 4 Imported by: 2

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