mock

package
v1.1.42 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Req

type Req struct {
	UsrIds []int64
	Data   any
}

type St

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

func New

func New() *St

func (*St) Clean

func (m *St) Clean()

func (*St) GetConnectionCount

func (m *St) GetConnectionCount() (int64, error)

func (*St) PullAll

func (m *St) PullAll() []Req

func (*St) Send2User

func (m *St) Send2User(usrId int64, data any) error

func (*St) Send2Users

func (m *St) Send2Users(usrIds []int64, data any) error

Jump to

Keyboard shortcuts

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