Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mongo ¶
type Mongo interface {
Collection(MongoCollectionName) *mongo.Collection
Ping(ctx context.Context) error
RawClient() *mongo.Client
RawDatabase() *mongo.Database
}
type MongoCollectionName ¶
type MongoCollectionName string
type Prometheus ¶
type Prometheus interface {
Register(prometheus.Registerer)
CurrentJobCount() prometheus.Gauge
TotalJobDurationSeconds() prometheus.Histogram
}
Click to show internal directories.
Click to hide internal directories.