utils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShutdownSignalObserver

func ShutdownSignalObserver(core *core)

ShutdownSignalObserver is a function that observes a shutdown signal.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config is a struct represents Go-compose YAML parser.

func GetConfig

func GetConfig(filePath string) (*Config, error)

GetConfig is a function that returns a `Config` struct of the given filePath.

type Processor

type Processor struct{ Core core }

Processor is a struct that represents Go-compose single-core processor.

func CreateProcessor

func CreateProcessor(config *Config) *Processor

CreateProcessor is a function that creates a processor from the given services config.

Jump to

Keyboard shortcuts

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