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