Documentation ¶
Index ¶
- type WzDBH
- func (dbh *WzDBH) Close()
- func (dbh *WzDBH) GetControllerAPI() *wzlib_database_controller.WzControllerDbh
- func (dbh *WzDBH) GetWorkerAPI() *wzlib_database_worker.WzWorkerDbh
- func (dbh *WzDBH) Open()
- func (dbh *WzDBH) SetDbName(name string) *WzDBH
- func (dbh *WzDBH) SetHost(host string) *WzDBH
- func (dbh *WzDBH) SetPort(port int) *WzDBH
- func (dbh *WzDBH) SetSSLConf(rootcert string, key string, sslcert string) *WzDBH
- func (dbh *WzDBH) SetUser(user string) *WzDBH
- func (dbh *WzDBH) WithControllerAPI() *WzDBH
- func (dbh *WzDBH) WithWorkerAPI() *WzDBH
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WzDBH ¶
type WzDBH struct { wzlib_logger.WzLogger // contains filtered or unexported fields }
func (*WzDBH) GetControllerAPI ¶
func (dbh *WzDBH) GetControllerAPI() *wzlib_database_controller.WzControllerDbh
GetControllerAPI returns API for controller's interaction
func (*WzDBH) GetWorkerAPI ¶
func (dbh *WzDBH) GetWorkerAPI() *wzlib_database_worker.WzWorkerDbh
GetWorkerAPI returns API for worker's interaction
func (*WzDBH) SetSSLConf ¶
SetSSLConf puts the ssl configuration
func (*WzDBH) WithControllerAPI ¶
WithControllerAPI will initialise controller API and will nil worker API
func (*WzDBH) WithWorkerAPI ¶
WithWorkerAPI will initialise worker API and will nil controller API
Click to show internal directories.
Click to hide internal directories.