Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseManager ¶
type DatabaseManager struct {
// contains filtered or unexported fields
}
func DatabaseManagerInstance ¶
func DatabaseManagerInstance() *DatabaseManager
func (*DatabaseManager) DbInit ¶
func (dbm *DatabaseManager) DbInit(dbType, dbUrl string) error
func (*DatabaseManager) DbInitializationStatus ¶
func (dbm *DatabaseManager) DbInitializationStatus() bool
func (*DatabaseManager) DbInstance ¶
func (dbm *DatabaseManager) DbInstance() *gorm.DB
type EtcdManager ¶
type EtcdManager struct {
// contains filtered or unexported fields
}
func EtcdManagerInstance ¶
func EtcdManagerInstance() *EtcdManager
func (*EtcdManager) ClientInit ¶
func (etcdm *EtcdManager) ClientInit(endpoints []string, username, password string) error
func (*EtcdManager) ClientInitializationStatus ¶
func (etcdm *EtcdManager) ClientInitializationStatus() bool
func (*EtcdManager) ClientInstance ¶
func (etcdm *EtcdManager) ClientInstance() *clientv3.Client
Click to show internal directories.
Click to hide internal directories.