common

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SystemMetadata_UserStreamAcl   = "$userStreamAcl"
	SystemMetadata_SystemStreamAcl = "$systemStreamAcl"

	SystemStreams_StreamsStream     = "$streams"
	SystemStreams_SettingsStream    = "$settings"
	SystemStreams_StatsStreamPrefix = "$stats"

	SystemEventTypes_StreamDeleted   = "$streamDeleted"
	SystemEventTypes_StatsCollection = "$statsCollected"
	SystemEventTypes_LinkTo          = "$>"
	SystemEventTypes_StreamMetadata  = "$metadata"
	SystemEventTypes_Settings        = "$settings"
)

Variables

This section is empty.

Functions

func SystemStreams_IsMetastream

func SystemStreams_IsMetastream(stream string) bool

func SystemStreams_MetastreamOf

func SystemStreams_MetastreamOf(stream string) string

func SystemStreams_OriginalStreamOf

func SystemStreams_OriginalStreamOf(stream string) string

Types

type SystemConsumerStrategies

type SystemConsumerStrategies string
const (
	SystemConsumerStrategies_DispatchToSingle SystemConsumerStrategies = "DispatchToSingle"
	SystemConsumerStrategies_RoundRobin       SystemConsumerStrategies = "RoundRobin"
	SystemConsumerStrategies_Pinned           SystemConsumerStrategies = "Pinned"
)

func (SystemConsumerStrategies) IsRoundRobin

func (s SystemConsumerStrategies) IsRoundRobin() bool

func (SystemConsumerStrategies) ToString

func (s SystemConsumerStrategies) ToString() string

Jump to

Keyboard shortcuts

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