opt

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	DisplayVersion bool
	StandaloneMode bool
	InstanceId     string
	MaxConnRetries uint
	RetryInterval  time.Duration
	RetryStrategy  StrategyOpt
}

func (*Options) BindFlags

func (opts *Options) BindFlags(fs *flag.FlagSet)

type StrategyOpt added in v0.0.5

type StrategyOpt utils.RetryStrategy

func (*StrategyOpt) Get added in v0.0.5

func (opt *StrategyOpt) Get() any

func (*StrategyOpt) Set added in v0.0.5

func (opt *StrategyOpt) Set(value string) error

func (*StrategyOpt) String added in v0.0.5

func (opt *StrategyOpt) String() string

func (*StrategyOpt) Unmarshall added in v0.0.5

func (opt *StrategyOpt) Unmarshall() utils.RetryStrategy

Jump to

Keyboard shortcuts

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