options

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BusinessTopoLevelMax int `json:"level.businessTopoMax"`
	Redis                redis.Config
	ConfigMap            map[string]string
	Es                   elasticsearch.EsConfig
}

type ServerOption

type ServerOption struct {
	ServConf *config.CCAPIConfig
	// enable transaction or not.
	EnableTxn bool
}

func NewServerOption

func NewServerOption() *ServerOption

func (*ServerOption) AddFlags

func (s *ServerOption) AddFlags(fs *pflag.FlagSet)

Jump to

Keyboard shortcuts

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