|
|
@ -13,7 +13,7 @@ type Component interface {
|
|
|
|
Initialized() bool
|
|
|
|
Initialized() bool
|
|
|
|
Init(components *Components, cli *cli.Context) error
|
|
|
|
Init(components *Components, cli *cli.Context) error
|
|
|
|
Stop() error
|
|
|
|
Stop() error
|
|
|
|
Flags(r *Components, flags []cli.Flag) []cli.Flag
|
|
|
|
Flags(r *Components) []cli.Flag
|
|
|
|
Health(context context.Context) error
|
|
|
|
Health(context context.Context) error
|
|
|
|
|
|
|
|
|
|
|
|
WrapHandlerFunc(ctx context.Context, req server.Request, rsp interface{}) error
|
|
|
|
WrapHandlerFunc(ctx context.Context, req server.Request, rsp interface{}) error
|
|
|
|