Versions in this module Expand all Collapse all v0 v0.1.0 Sep 22, 2023 Changes in this version + const ServiceName + func CtxWorkerInstance(entry interface{}, ctx context.Context) context.Context + func NewWorkerAsInterface(cfg config.Config, ctx context.Context) interface + func RunWorkerAsInterface(structure interface{}, ctx context.Context) + type IWorker interface + GetEstimatedTime func() time.Duration + ProcessPermissions func(_ context.Context) error + Run func(ctx context.Context) + type Worker struct + func WorkerInstance(ctx context.Context) *Worker + func (w *Worker) GetEstimatedTime() time.Duration + func (w *Worker) ProcessPermissions(_ context.Context) error + func (w *Worker) RefreshModule() (string, error) + func (w *Worker) RefreshSubmodules(msg data.ModulePayload) (string, error) + func (w *Worker) Run(ctx context.Context)