lib

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(basectx context.Context, conf config.Config) (err error)

Start initializes

kafka consumer
kafka producer
mongodb connection
api server

on basectx.Done() all connections will be closed assync

if context contains a waitgroup as value (github.com/SENERGY-Platform/process-model-repository/lib/contextwg) the waitgroup is informed about successfull close/disconnect

func StartGetInternals added in v0.0.11

func StartGetInternals(basectx context.Context, conf config.Config) (db database.Database, ctrl *controller.Controller, err error)

Types

This section is empty.

Directories

Path Synopsis
api
source

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳