Documentation ¶
Index ¶
- Constants
- Variables
- func AddActions(registry *actions.WorkerTemplateRegistry)
- func AfterInit(station *ochestrator.Station, envConfig *nenv.EnvStore) error
- func BeforeInit(station *ochestrator.Station, envConfig *nenv.EnvStore) error
- func UseCodec(ctx context.Context, logger sabuhp.Logger) (sabuhp.Codec, error)
- func UseInjector(ctx context.Context, logger sabuhp.Logger, envConfig *nenv.EnvStore) (*injectors.Injector, error)
Constants ¶
View Source
const ( ProjectName = "[project]" ProjectNamespace = "[PROJECT]" EnvConfigAlias = "*npkg.EnvStore" )
Variables ¶
View Source
var HelloWorldRequest = actions.WorkerRequest{ ActionName: "helloWorld", PubSubTopic: "hello-world", WorkerCreator: func(config actions.WorkerConfig) *actions.WorkerGroup { config.Action = actions.ActionFunc(helloWorldAction) return actions.NewWorkGroup(config) }, }
View Source
var Logger = &loggerImpl{}
Functions ¶
func AddActions ¶
func AddActions(registry *actions.WorkerTemplateRegistry)
func BeforeInit ¶
func BeforeInit(station *ochestrator.Station, envConfig *nenv.EnvStore) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.