service

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: AGPL-3.0 Imports: 46 Imported by: 1

Documentation

Overview

Package services allows running the controller service from go without going through the cli.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDBConnection

func CreateDBConnection(ctx types.NodeContext, cfg *config.Postgres) (*pgxpool.Pool, error)

func LoadNode

func LoadNode(
	ctx types.NodeContext,
	cfg *config.Config, pool *pgxpool.Pool) (universe.Node, error)

Load a Node

Types

This section is empty.

Jump to

Keyboard shortcuts

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