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

supervisor

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketBasics added in v0.0.6

type BucketBasics struct {
	S3Client S3Client
}

type Reflector

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

type S3Client added in v0.0.6

type S3Client interface {
	manager.UploadAPIClient
}

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