ws

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionCountRepSt

type ConnectionCountRepSt struct {
	Value int64 `json:"value"`
}

type SendReqSt

type SendReqSt struct {
	UsrIds  []int64 `json:"usr_ids"`
	Message any     `json:"message"`
}

type Ws

type Ws interface {
	Send2User(usrId int64, data any) error
	Send2Users(usrIds []int64, data any) error
	GetConnectionCount() (int64, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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