client

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsContain

func IsContain(items []string, item string) bool

func Start

func Start(ctx context.Context, cfg *Config)

Types

type Config

type Config struct {
	Debug           bool   `default:"false" desc:"enable debug logging"`
	ProbeMasterAddr string `desc:"probe-master address"`
	ClusterName     string `desc:"cluster key"`
	SecretKey       string `desc:"secret key"`
}

Jump to

Keyboard shortcuts

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