lccc_general_manager

package
v0.0.0-...-631233f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL