Documentation
¶
Index ¶
- type DirectDbWithCompute
- func (dm DirectDbWithCompute) ComputeSettlement(projectID int) (ms metering.Statement, err error)
- func (dm DirectDbWithCompute) Query(projectID int, mType int, typeInfo string) (ms metering.Statement, err error)
- func (dm DirectDbWithCompute) QueryAll(projectID int, mType int) (mss []metering.Statement, err error)
- func (dm DirectDbWithCompute) QueryWithCI(projectID int, mType int, typeInfo string) (ms metering.Statement, err error)
- type MeteringDM
- type MeteringReadOnlyDM
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectDbWithCompute ¶
type DirectDbWithCompute struct {
// contains filtered or unexported fields
}
func NewResAllocDirectDB ¶
func NewResAllocDirectDB(mdb meteringDB.MeteringDB, cdm resAllocDM.ResAllocReadOnlyDM, gdm resAllocDM.ResAllocReadOnlyDM, sdm resAllocDM.ResAllocReadOnlyDM) DirectDbWithCompute
func (DirectDbWithCompute) ComputeSettlement ¶
func (dm DirectDbWithCompute) ComputeSettlement(projectID int) (ms metering.Statement, err error)
func (DirectDbWithCompute) QueryWithCI ¶
type MeteringDM ¶
Click to show internal directories.
Click to hide internal directories.