config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagAccessKey      = "accessKey"
	FlagSecretKey      = "secretKey"
	FlagNamesrvAddrKey = "namesrvAddrs"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RocketMQConfig

type RocketMQConfig struct {
	ConfigFile   string
	AccessKey    string `yaml:"AccessKey"`
	SecretKey    string `yaml:"SecretKey"`
	NamesrvAddrs string `yaml:"NamesrvAddrs"`
}

func (*RocketMQConfig) GetNamesrvAddrs

func (r *RocketMQConfig) GetNamesrvAddrs() []string

func (*RocketMQConfig) InstallRocketMQFlags

func (r *RocketMQConfig) InstallRocketMQFlags(cmd *cobra.Command)

func (*RocketMQConfig) Load

func (r *RocketMQConfig) Load() error

Jump to

Keyboard shortcuts

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