cmd

package
v0.0.0-...-fee140a Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 12 Imported by: 0

README

cmd

Contains applications (apps) used in Substation deployments. Apps are organized by either the infrastructure they are deployed to (e.g., AWS) or the source of the data (e.g., file, http).

Any app that implements the ingest, transform, load (ITL) functionality of Substation is named substation and shares the same configuration file format (see build/config/ for more information).

app.go

Contains the core Substation application code. This code can be used to create new Substation applications.

aws/lambda

Contains apps deployed as AWS Lambda functions.

development/

Contains apps that aid in testing and development.

Documentation

Overview

package cmd provides definitions and methods for building Substation applications.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *substation

New returns an initialized Substation app. If an error occurs during initialization, then this function will panic.

Concurrency is controlled using the SUBSTATION_CONCURRENCY environment variable and defaults to the number of CPUs on the host. In native Substation applications, this value determines the number of transform goroutines; if set to 1, then multi-core processing is not enabled.

Types

This section is empty.

Directories

Path Synopsis
aws
development

Jump to

Keyboard shortcuts

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