Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrReviewFailed = errors.New("review key already exists")
View Source
var ReadDBCli *gorm.DB
View Source
var WriteDBCli *gorm.DB
Functions ¶
func InitDBClients ¶
func InitDBClients()
Types ¶
type EtcdClient ¶
type EtcdClient struct {
// contains filtered or unexported fields
}
func NewEtcdClient ¶
func NewEtcdClient(config *config.EtcdConfig) (*EtcdClient, error)
func (*EtcdClient) PublishConfig ¶
func (e *EtcdClient) PublishConfig(group, dataId, content string) error
Click to show internal directories.
Click to hide internal directories.