master

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func OnSessionClosed

func OnSessionClosed(s *session.Session)

Types

type ExistsMembersResponse

type ExistsMembersResponse struct {
	Members string `json:"members"`
}

type TopicService

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

func (*TopicService) NewUser

func (ts *TopicService) NewUser(s *session.Session, msg *protocol.NewUserRequest) error

func (*TopicService) Stats

func (ts *TopicService) Stats(s *session.Session, msg *protocol.MasterStats) error

type User

type User struct {
	// contains filtered or unexported fields
}

type UserBalanceResponse

type UserBalanceResponse struct {
	CurrentBalance int64 `json:"currentBalance"`
}

Jump to

Keyboard shortcuts

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