servicex

package
v1.3.90 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL