Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustCollect ¶
func MustCollect(config Config)
func MustCollectFromViper ¶
func MustCollectFromViper()
Types ¶
type Sampler ¶
type Sampler struct {
// contains filtered or unexported fields
}
func NewSampler ¶
func NewSamplerWithFlow ¶
type ShardCounter ¶
type ShardCounter struct {
// contains filtered or unexported fields
}
func NewShardCounter ¶
func NewShardCounter() *ShardCounter
func (*ShardCounter) Insert ¶
func (counter *ShardCounter) Insert(config shard.ShardConfig)
func (*ShardCounter) Replica ¶
func (counter *ShardCounter) Replica() int
Click to show internal directories.
Click to hide internal directories.