configures

package
v0.0.0-...-cb472e6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfCenter

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

ConfCenter discover configure changed. get, update configures

func NewConfCenter

func NewConfCenter(ctx context.Context, client *zk.ZkClient) *ConfCenter

NewConfCenter create a ConfCenter object

func (*ConfCenter) Ping

func (cc *ConfCenter) Ping() error

Ping to ping server

func (*ConfCenter) Start

func (cc *ConfCenter) Start(confDir, errRes, languageRes string) error

Start the configure center module service

Jump to

Keyboard shortcuts

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