shutdown

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: ISC Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(path string) bool

func ReadFile

func ReadFile(path string) ([]byte, error)

func UseLogger

func UseLogger(logger l.Logger)

UseLogger uses a specified Logger to output package logging info.

Types

type Tracker

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

func NewTracker

func NewTracker(datadir string) *Tracker

func (*Tracker) Check

func (t *Tracker) Check() error

func (*Tracker) Done

func (t *Tracker) Done() error

func (*Tracker) Wait

func (t *Tracker) Wait(bh *hash.Hash) error

Jump to

Keyboard shortcuts

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