Documentation
¶
Index ¶
- Variables
- type Data
- func (d *Data) FirstServerConn(serverType vobj.ServerType) (*bo.Server, bool)
- func (d *Data) GetBizDB(teamID uint32) (gorm.DB, error)
- func (d *Data) GetCache() cache.Cache
- func (d *Data) GetEventDB(teamID uint32) (gorm.DB, error)
- func (d *Data) GetMainDB() gorm.DB
- func (d *Data) GetServerConn(serverType vobj.ServerType, id string) (*bo.Server, bool)
- func (d *Data) RemoveServerConn(serverType vobj.ServerType, id string)
- func (d *Data) SetServerConn(serverType vobj.ServerType, id string, conn *bo.Server)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSetData = wire.NewSet(New)
ProviderSetData is a set of data providers.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct {
// contains filtered or unexported fields
}
func (*Data) FirstServerConn ¶
func (*Data) GetServerConn ¶
func (*Data) RemoveServerConn ¶
func (d *Data) RemoveServerConn(serverType vobj.ServerType, id string)
func (*Data) SetServerConn ¶
Click to show internal directories.
Click to hide internal directories.