store

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2022 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() (int64, error)
	RemoveClient(clientIP string) error
}

type ClusterStore

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

type ClusterTopicStore

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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