Documentation ¶
Index ¶
- type SupbStrategy
- func (r *SupbStrategy) Close() error
- func (r *SupbStrategy) GetCommonData(key string) (interface{}, error)
- func (r *SupbStrategy) GetCommonInfo() (map[string]string, error)
- func (r *SupbStrategy) InitFlags(flags *pflag.FlagSet)
- func (r *SupbStrategy) InitViper(viper *viper.Viper)
- func (r *SupbStrategy) Initialize(opts ...option)
- func (r *SupbStrategy) OptionConfig(opts ...option)
- func (r *SupbStrategy) ViperConfig(viper *viper.Viper)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SupbStrategy ¶
type SupbStrategy struct { Guid string // contains filtered or unexported fields }
func NewSupbStrategy ¶
func NewSupbStrategy(ctx context.Context, prefix string) *SupbStrategy
func (*SupbStrategy) Close ¶
func (r *SupbStrategy) Close() error
func (*SupbStrategy) GetCommonData ¶
func (r *SupbStrategy) GetCommonData(key string) (interface{}, error)
func (*SupbStrategy) GetCommonInfo ¶
func (r *SupbStrategy) GetCommonInfo() (map[string]string, error)
func (*SupbStrategy) InitFlags ¶
func (r *SupbStrategy) InitFlags(flags *pflag.FlagSet)
func (*SupbStrategy) InitViper ¶
func (r *SupbStrategy) InitViper(viper *viper.Viper)
func (*SupbStrategy) Initialize ¶
func (r *SupbStrategy) Initialize(opts ...option)
func (*SupbStrategy) OptionConfig ¶
func (r *SupbStrategy) OptionConfig(opts ...option)
func (*SupbStrategy) ViperConfig ¶
func (r *SupbStrategy) ViperConfig(viper *viper.Viper)
Click to show internal directories.
Click to hide internal directories.