chat_queue

package
v1.5.13 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MIT Imports: 2 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"`
	FMessage   string `json:"message"`
	FTimestamp string `json:"timestamp"`
}

Jump to

Keyboard shortcuts

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