Documentation ¶
Index ¶
- Constants
- Variables
- func WithGUID(guid string) option
- type SupbManager
- func (r *SupbManager) Close() error
- func (r *SupbManager) InitFlags(flags *pflag.FlagSet)
- func (r *SupbManager) InitViper(viper *viper.Viper)
- func (r *SupbManager) Initialize(opts ...option)
- func (r *SupbManager) OptionConfig(opts ...option)
- func (r *SupbManager) RPC() nervous.Controller
- func (r *SupbManager) ViperConfig(viper *viper.Viper)
Constants ¶
View Source
const (
SupbRpc = "rpc"
)
Variables ¶
View Source
var SupbModules = []string{SupbRpc}
Functions ¶
Types ¶
type SupbManager ¶
type SupbManager struct {
// contains filtered or unexported fields
}
func NewSupbManager ¶
func NewSupbManager(ctx context.Context, prefix string) *SupbManager
func (*SupbManager) Close ¶
func (r *SupbManager) Close() error
func (*SupbManager) InitFlags ¶
func (r *SupbManager) InitFlags(flags *pflag.FlagSet)
func (*SupbManager) InitViper ¶
func (r *SupbManager) InitViper(viper *viper.Viper)
func (*SupbManager) Initialize ¶
func (r *SupbManager) Initialize(opts ...option)
func (*SupbManager) OptionConfig ¶
func (r *SupbManager) OptionConfig(opts ...option)
func (*SupbManager) RPC ¶
func (r *SupbManager) RPC() nervous.Controller
func (*SupbManager) ViperConfig ¶
func (r *SupbManager) ViperConfig(viper *viper.Viper)
Click to show internal directories.
Click to hide internal directories.