Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResetTrafficLogic ¶ added in v1.0.3
type ResetTrafficLogic struct {
// contains filtered or unexported fields
}
ResetTrafficLogic handles traffic reset logic for different subscription cycles Supports three reset modes: - reset_cycle = 1: Reset on 1st of every month - reset_cycle = 2: Reset monthly based on subscription start date - reset_cycle = 3: Reset yearly based on subscription start date
func NewResetTrafficLogic ¶ added in v1.0.3
func NewResetTrafficLogic(svc *svc.ServiceContext) *ResetTrafficLogic
func (*ResetTrafficLogic) ProcessTask ¶ added in v1.0.3
ProcessTask executes the traffic reset task for all subscription types with enhanced retry mechanism
type ServerDataLogic ¶
type ServerDataLogic struct {
// contains filtered or unexported fields
}
func NewServerDataLogic ¶
func NewServerDataLogic(svc *svc.ServiceContext) *ServerDataLogic
func (*ServerDataLogic) ProcessTask ¶
type StatLogic ¶ added in v1.1.0
type StatLogic struct {
// contains filtered or unexported fields
}
func NewStatLogic ¶ added in v1.1.0
func NewStatLogic(svc *svc.ServiceContext) *StatLogic
type TrafficStatisticsLogic ¶
type TrafficStatisticsLogic struct {
// contains filtered or unexported fields
}
func NewTrafficStatisticsLogic ¶
func NewTrafficStatisticsLogic(svc *svc.ServiceContext) *TrafficStatisticsLogic
func (*TrafficStatisticsLogic) ProcessTask ¶
Click to show internal directories.
Click to hide internal directories.