state

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2016 License: Apache-2.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 StateEvent

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

type StateMemoryService

type StateMemoryService struct{}

func (*StateMemoryService) HasProgressRecords

func (s *StateMemoryService) HasProgressRecords(guid string) bool

func (*StateMemoryService) ReadProgress

func (s *StateMemoryService) ReadProgress(guid string) (time.Time, string, error)

func (*StateMemoryService) ReportProgress

func (s *StateMemoryService) ReportProgress(guid string, state string, err error)

type StateService

type StateService interface {
	ReportProgress(guid string, state string, err error)
	HasProgressRecords(guid string) bool
	ReadProgress(guid string) (time.Time, string, error)
}

Jump to

Keyboard shortcuts

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