quotes

package
v0.0.0-...-23d494c Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNilConfig        = errors.New("configuration is nil")
	ErrZeroWorkersCount = errors.New("zero workers count")
	ErrNotImplemented   = errors.New("not implemented")
	ErrNotIninializated = errors.New("service is not running")
	ErrStorageIsNil     = errors.New("storage is nil")
	ErrShutdown         = errors.New("service is shutdowning")
)
View Source
var (
	ErrNilWorkerChannel = errors.New("nil worker channel")
)

Functions

func NewQuotesService

func NewQuotesService(
	cfg configurer,
	storage quotesStorager,
) (*quotesService, error)

func NewQuotesWorker

func NewQuotesWorker(
	storage quotesStorager,
	workerChannel chan chan *models.QuotesWork,
) (*worker, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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