manifest

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: GPL-3.0 Imports: 2 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigLoaderFunc

type ConfigLoaderFunc func(json.RawMessage) (Configurator, error) //argument == nil value => no config

type Configurator

type Configurator interface{}

type GetStartupInstancesFunc

type GetStartupInstancesFunc func(Configurator) []instance.ID

type ServiceLoaderFunc

type ServiceLoaderFunc func(Configurator) error

type ServiceManifest

type ServiceManifest struct {
	Name                    string
	Instantiable            bool
	ConfigLoaderFunc        ConfigLoaderFunc        //can be nil
	ServiceLoaderFunc       ServiceLoaderFunc       //can be nil
	GetStartupInstancesFunc GetStartupInstancesFunc //can be nil
	InstanceInitFunc        InstanceInitFunc
}

Jump to

Keyboard shortcuts

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