chat_queue

package
v1.5.14 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 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