chat_queue

package
v1.5.18 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IChatQueue

type IChatQueue interface {
	Init()
	Push(*SMessage)
	Load(string) (*SMessage, bool)
}

func NewChatQueue

func NewChatQueue(pSize int) IChatQueue

type SMessage

type SMessage struct {
	FAddress     string             `json:"address"`
	FMessageInfo utils.SMessageInfo `json:"message_info"`
}

Jump to

Keyboard shortcuts

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