zookeeper

package
v0.0.0-...-5e10734 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(conf *viper.Viper) (*zk.Conn, error)

Types

type ZookeeperCounter

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

func NewCounter

func NewCounter(conn *zk.Conn) *ZookeeperCounter

func (*ZookeeperCounter) Inc

func (c *ZookeeperCounter) Inc() (int, error)

func (*ZookeeperCounter) UpdateCounterBase

func (c *ZookeeperCounter) UpdateCounterBase() error

Jump to

Keyboard shortcuts

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