statestorage

package
v0.0.0-...-52c00b9 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockService

type MockService struct {
	mock.Mock
}

func (*MockService) IsStarted

func (s *MockService) IsStarted() bool

func (*MockService) ReadKey

func (*MockService) Start

func (s *MockService) Start(stop *chan error)

func (*MockService) Stop

func (s *MockService) Stop()

func (*MockService) WriteKey

type Service

type Service interface {
	statestorage.Methods
	Start(stop *chan error)
	Stop()
	IsStarted() bool
}

func NewService

func NewService(logger logger.Interface) Service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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