registryinit

package
v0.0.0-...-4450389 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

`registryinit.Processor` watches an `fsomain` event journal and tells `fsoregistry` to initialize registry entities.

Index

Constants

View Source
const NsFsoRegistry = "fsoreg"

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Infow(msg string, kv ...interface{})
	Warnw(msg string, kv ...interface{})
	Errorw(msg string, kv ...interface{})
}

type Processor

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

func NewProcessor

func NewProcessor(
	names *shorteruuid.Names,
	lg Logger,
	mainJ *events.Journal,
	main *fsomain.Main,
	mainId uuid.I,
	registry *fsoregistry.Registry,
) *Processor

func (*Processor) Process

func (p *Processor) Process(ctx context.Context) error

Jump to

Keyboard shortcuts

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