store

package
v0.4.1-alpha.13 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 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 ClusterConnStore

type ClusterConnStore interface {
	OneClientAtomicAddBy(clientIP string, num int64) error
	GetAllConnNum() (uint64, error)
	RemoveClient(clientIP string) error
	ClusterMembers() ([]string, error)
}

type ClusterStore

type ClusterStore interface {
	ClusterNumber() (int64, error)
}

type ClusterTopicStore

type ClusterTopicStore interface {
	TopicConnAtomicAddBy(topic string, num int64) error
	GetTopicConnNum(topic string) (uint64, error)
	RemoveTopic(topic string) error
	Topics() (map[string]uint64, error)
	ClusterTopics() (map[string]uint64, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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