collector

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Interval time.Duration
}

Config defines parameters for storage node Collector.

type Service

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

Service implements collecting expired pieces on the storage node.

func NewService

func NewService(log *zap.Logger, pieces *pieces.Store, pieceinfos pieces.DB) *Service

NewService creates a new collector service.

Jump to

Keyboard shortcuts

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