discovery

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discovery

type Discovery struct {
	// contains filtered or unexported fields
}

func NewDiscovery

func NewDiscovery(cfg *config.Config, ncm cm.RemoteConfManager, rcm bool) *Discovery

func (*Discovery) Dispatcher

func (d *Discovery) Dispatcher() error

func (*Discovery) GetCKConn

func (d *Discovery) GetCKConn() error

func (*Discovery) IsEnabled

func (d *Discovery) IsEnabled() bool

func (*Discovery) Publish

func (d *Discovery) Publish()

func (*Discovery) SetConfig

func (d *Discovery) SetConfig(conf config.Config)

type Replicas

type Replicas []string

type Shards

type Shards []Replicas

func (Shards) Len

func (r Shards) Len() int

func (Shards) Less

func (r Shards) Less(i, j int) bool

func (Shards) Swap

func (r Shards) Swap(i, j int)

Jump to

Keyboard shortcuts

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