Documentation ¶ Index ¶ func Launch(pctx context.Context, sql *dbc.DbClient, ss ...ServiceIf) error type CommonSrv func (cs *CommonSrv) Init(pCtx context.Context, dbc *dbc.DbClient) type ServiceErrorHandleIf type ServiceIf func Get(ss ServiceIf) ServiceIf Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Launch ¶ func Launch(pctx context.Context, sql *dbc.DbClient, ss ...ServiceIf) error Types ¶ type CommonSrv ¶ type CommonSrv struct { Ctx context.Context Cancel context.CancelFunc Dbc *dbc.DbClient } func (*CommonSrv) Init ¶ func (cs *CommonSrv) Init(pCtx context.Context, dbc *dbc.DbClient) type ServiceErrorHandleIf ¶ type ServiceErrorHandleIf interface { ErrorHandle() (bool, error) } type ServiceIf ¶ type ServiceIf interface { Launch(ctx context.Context, sql *dbc.DbClient) error GetName() string } func Get ¶ func Get(ss ServiceIf) ServiceIf Source Files ¶ View all Source files servicex.go Click to show internal directories. Click to hide internal directories.