Documentation
¶
Index ¶
Constants ¶
View Source
const ( DeferCloseOrder = "defer:order:close" ForthwithActivateOrder = "forthwith:order:activate" )
View Source
const ( SchedulerCheckSubscription = "scheduler:check:subscription" SchedulerTotalServerData = "scheduler:total:server" SchedulerResetTraffic = "scheduler:reset:traffic" )
View Source
const (
// ForthwithGetCountry forthwith country get
ForthwithGetCountry = "forthwith:country:get"
)
View Source
const (
// ForthwithSendEmail forthwith send email
ForthwithSendEmail = "forthwith:email:send"
)
View Source
const (
// ForthwithSendEmail forthwith send email
ForthwithSendSms = "forthwith:sms:send"
)
View Source
const ForthwithTrafficStatistics = "forthwith:traffic:statistics"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeferCloseOrderPayload ¶
type DeferCloseOrderPayload struct {
OrderNo string `json:"order_no"`
}
type ForthwithActivateOrderPayload ¶
type ForthwithActivateOrderPayload struct {
OrderNo string `json:"order_no"`
}
type GetNodeCountry ¶
type NodeStatus ¶
type NodeStatus struct {
OnlineUsers []OnlineUser `json:"online_users"`
Status ServerStatus `json:"status"`
LastAt int64 `json:"last_at"`
}
type OnlineUser ¶
type SendEmailPayload ¶
type SendSmsPayload ¶
type ServerStatus ¶
type ServerTrafficCount ¶
type TrafficStatistics ¶
type TrafficStatistics struct {
ServerId int64 `json:"server_id"`
Logs []UserTraffic `json:"logs"`
}
type UserTraffic ¶
Click to show internal directories.
Click to hide internal directories.