Documentation ¶ Index ¶ func Start(ctx context.Context, ctxCancel context.CancelFunc, ...) type Provider type Service Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Start ¶ func Start(ctx context.Context, ctxCancel context.CancelFunc, config *infrastructure.Config, service Service, provider Provider, mutex *sync.Mutex, interval time.Duration) Types ¶ type Provider ¶ added in v1.0.8 type Provider interface { InitBtcRpcClient() (*rpcclient.Client, error) InitDBConnection() (*sqlx.DB, error) } type Service ¶ added in v1.0.8 type Service interface { Execute(ctx context.Context, btcClient services.BtcClient, storage services.Storage) error } Source Files ¶ View all Source files worker.go Directories ¶ Show internal Expand all Path Synopsis infrastructure requesters services sql_db types Click to show internal directories. Click to hide internal directories.