Documentation
¶
Overview ¶
Package wallet contains private wallet read parameters and response models.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides explicitly authenticated wallet reads.
type Info ¶
type Info struct {
MID int64 `json:"mid"`
TotalBPCoin float64 `json:"totalBp"`
DefaultBPCoin float64 `json:"defaultBp"`
IOSBPCoin float64 `json:"iosBp"`
CouponBalance float64 `json:"couponBalance"`
AvailableBPCoin float64 `json:"availableBp"`
Tip string `json:"tip"`
ShowClassBalance int64 `json:"needShowClassBalance"`
}
type InfoParams ¶
type InfoParams struct {
// contains filtered or unexported fields
}
func InfoParamsAtMilliseconds ¶
func InfoParamsAtMilliseconds(timestampMS int64) (InfoParams, error)
func (InfoParams) RequestBody ¶
func (p InfoParams) RequestBody(csrf string) (any, error)
func (InfoParams) WithPlatformType ¶
func (p InfoParams) WithPlatformType(platformType uint32) (InfoParams, error)
func (InfoParams) WithTraceID ¶
func (p InfoParams) WithTraceID(traceID int64) (InfoParams, error)
func (InfoParams) WithVersion ¶
func (p InfoParams) WithVersion(version string) (InfoParams, error)
Click to show internal directories.
Click to hide internal directories.