Documentation ¶
Overview ¶
Package analyzer implements the `analyze` sub-command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunMigrations ¶
RunMigrations runs migrations defined in sourceURL against databaseURL.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is Oasis Nexus's analysis service.
func Init ¶
func Init(cfg *config.AnalysisConfig) (*Service, error)
Init initializes the analysis service.
func NewService ¶
func NewService(cfg *config.AnalysisConfig) (*Service, error)
NewService creates new Service.
type SyncedAnalyzer ¶ added in v0.1.21
An Analyzer that is tagged with a `syncTag`. The `syncTag` is used for sequencing analyzers: For any non-empty tag, nexus will first run all fast-sync analyzers with that tag to completion, and only then start other analyzers with the same tag. The empty tag "" is special; it can be used by slow-sync analyzers that don't need to wait for any fast-sync analyzers to complete. This mechanism is a simple(ish) alternative to supporting a full-blown execution/dependency graph between analyzers.