Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Usecases ¶
type Usecases struct {
ContextBox ports.ContextBoxPort
}
func (*Usecases) ConfigProcessor ¶
func (u *Usecases) ConfigProcessor(contextBoxGrpcClient pb.ContextBoxServiceClient, waitGroup *sync.WaitGroup) error
ConfigProcessor will fetch new config from the context-box microservice. Each received config will be processed in a separate go-routine. If a sync.WaitGroup is supplied it will call the Add(1) and then the Done() method on it after the go-routine finishes the work, if nil it will be ignored.
Click to show internal directories.
Click to hide internal directories.