package
Version:
v2.20.0
Opens a new window with list of versions in this module.
Published: Jun 27, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config[MongoConfig DBConfig, CQLDBConfig DBConfig] struct {
Use DBUse `yaml:"use" json:"use"`
MongoDB MongoConfig `yaml:"mongoDB" json:"mongoDb"`
CqlDB CQLDBConfig `yaml:"cqlDB" json:"cqlDb"`
}
func (c *Config[MongoConfig, CQLDBConfig]) Validate() error
type DBConfig interface {
Validate() error
}
const (
MongoDB DBUse = "mongoDB"
CqlDB DBUse = "cqlDB"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.