Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortfolioAnalyzer ¶
type PortfolioAnalyzer struct {
// contains filtered or unexported fields
}
func NewPortfolioAnalyzer ¶
func (PortfolioAnalyzer) AuditResultChan ¶
func (pa PortfolioAnalyzer) AuditResultChan() <-chan any
AuditResultChan returns the analyzer's channel for audit results.
func (PortfolioAnalyzer) Start ¶
func (pa PortfolioAnalyzer) Start(ctx context.Context, triggerChan <-chan struct{}) error
Start listens for messages on triggerChan and launches a portfolio analysis when a trigger is received. Upon termination, all channels owned by this PortfolioAnalyzer instance are closed. Start is thus intended to only be invoked once.
Click to show internal directories.
Click to hide internal directories.