Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry handles statistics
func NewRegistry ¶
NewRegistry creates a new stats Registry
func (*Registry) CurrentlyWatching ¶
func (*Registry) RegisterSpectator ¶
func (*Registry) RegisterStreamSubscriber ¶
func (s *Registry) RegisterStreamSubscriber(stream StatStreamConsumersType, authenticated bool) func()
type StatStreamConsumersType ¶
type StatStreamConsumersType string
StatStreamConsumersType is a type of gRPC stream consumer count
const StatStreamConsumersChat StatStreamConsumersType = "chat"
StatStreamConsumersChat is the chat gRPC stream consumer count
const StatStreamConsumersCommunitySkipping StatStreamConsumersType = "community_skipping"
StatStreamConsumersCommunitySkipping is the community skipping gRPC stream consumer count
const StatStreamConsumersQueue StatStreamConsumersType = "queue"
StatStreamConsumersQueue is the queue gRPC stream consumer count
Click to show internal directories.
Click to hide internal directories.