master

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// 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