Documentation
¶
Index ¶
- Constants
- Variables
- func NewAlertEvaluatorConfig(c *conf.Data) *biz.AlertEvaluatorConfig
- func NewAlertRepo(txm orm.Transaction) biz.AlertRepo
- func NewIPGeolocator() biz.IPGeolocator
- func NewNATSClient(bc *conf.Data) (*nats.Conn, func(), error)
- func NewNodeMessaging(conn *nats.Conn, store *nodeStore) biz.NodeMessaging
- func NewNodeRepo(txm orm.Transaction) biz.NodeRepo
- func NewNodeStore(repo biz.NodeRepo) *nodeStore
- func NewProbeMessaging(conn *nats.Conn, store *nodeStore, nodeRepo biz.NodeRepo, ...) biz.ProbeMessaging
- func NewRealtimeRepo(txm orm.Transaction) biz.RealtimeRepo
- func NewTaskRepo(txm orm.Transaction) biz.TaskRepo
- type Data
- type DriverDialector
Constants ¶
View Source
const DialSysHeartbeatSubject = "dialsys.heartbeat"
View Source
const DialSysNodeMetadataSubject = "dialsys.node.metadata"
View Source
const DialSysProbeResultsSubject = "dialsys.probe.results"
View Source
const DialSysProbeTaskSubject = "dialsys.probe.task"
Variables ¶
View Source
var ErrNodeNotFound = errors.New("node not found")
View Source
var ProviderSet = wire.NewSet( NewData, NewAlertEvaluatorConfig, wire.Bind(new(orm.DataSourceManager), new(*Data)), orm.NewTransactionManager, NewNATSClient, NewIPGeolocator, NewTaskRepo, NewRealtimeRepo, NewAlertRepo, NewNodeRepo, NewNodeStore, NewNodeMessaging, NewProbeMessaging, )
ProviderSet is data providers.
Functions ¶
func NewAlertEvaluatorConfig ¶
func NewAlertEvaluatorConfig(c *conf.Data) *biz.AlertEvaluatorConfig
func NewAlertRepo ¶
func NewAlertRepo(txm orm.Transaction) biz.AlertRepo
func NewIPGeolocator ¶
func NewIPGeolocator() biz.IPGeolocator
func NewNodeMessaging ¶
func NewNodeMessaging(conn *nats.Conn, store *nodeStore) biz.NodeMessaging
func NewNodeRepo ¶
func NewNodeRepo(txm orm.Transaction) biz.NodeRepo
func NewNodeStore ¶
func NewProbeMessaging ¶
func NewRealtimeRepo ¶
func NewRealtimeRepo(txm orm.Transaction) biz.RealtimeRepo
func NewTaskRepo ¶
func NewTaskRepo(txm orm.Transaction) biz.TaskRepo
Types ¶
type Data ¶
type Data struct {
// contains filtered or unexported fields
}
Data .
func (*Data) GetDataSource ¶
type DriverDialector ¶
Click to show internal directories.
Click to hide internal directories.