Help us shape the future of Go! Take the 2026 Go Developer Survey

supervisor

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reflector

type Reflector interface {
	Start(ctx context.Context) error
	Close() error
}

type S3Uploader

type S3Uploader interface {
	s3manageriface.UploaderAPI
}

type Supervisor

type Supervisor interface {
	Start(ctx context.Context)
	io.Closer
}

func SupervisorFromConfig

func SupervisorFromConfig(config SupervisorConfig) (Supervisor, error)

type SupervisorConfig

type SupervisorConfig struct {
	SnapshotInterval time.Duration
	SnapshotURL      string
	LDBPath          string
	Reflector        Reflector
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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