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.
Click to show internal directories.
Click to hide internal directories.