package thinkingdata type ( Header struct { AccountID string `json:"#account_id"` DistinctID string `json:"#distinct_id"` Type string `json:"#type"` Time string `json:"#time"` EventName string `json:"#event_name"` UUID string `json:"#uuid"` EventID string `json:"#event_id"` } Super struct { // Common ZoneOffset int64 `json:"#zone_offset"` // Log ContextType string `json:"context_type"` LogType string `json:"log_type"` GroupID string `json:"group_id"` BatchID string `json:"batch_id"` SeqID int64 `json:"seq_id"` LogID string `json:"log_id"` ProcessID string `json:"process_id"` SessionID int64 `json:"session_id"` Contest string `json:"contest"` ContestType string `json:"contest_type"` RoomType string `json:"room_type"` RoomID uint64 `json:"room_id"` RoundID int64 `json:"round_id"` Branch uint32 `json:"branch"` // Srv Runtime string `json:"runtime"` Version string `json:"version"` SessionVersion string `json:"session_version"` SessionBranch uint32 `json:"session_branch"` Cluster string `json:"cluster"` // Cli CliPackage string `json:"#bundle_id"` CliVersion string `json:"#app_version"` CliResVersion string `json:"cli_res_version"` CliPlatform string `json:"cli_platform"` CliOS string `json:"#os"` CliDevice string `json:"#device_model"` CliDeviceID string `json:"#device_id"` CliZoneOffset string `json:"cli_zone_offset"` CliIntranetIP string `json:"cli_intranet_ip"` CliInternetIP string `json:"#ip"` CliContinent string `json:"cli_continent"` CliCountry string `json:"cli_country"` CliASN string `json:"cli_asn"` CliNetworkPromotion string `json:"cli_promote_network"` CliIsNetworkPromotionRemote bool `json:"cli_is_promote_network_remote"` CliBackground bool `json:"cli_background"` CliSimulator bool `json:"cli_simulator"` CliLanguage string `json:"cli_language"` CliNetwork string `json:"cli_network"` CliCarrier string `json:"cli_carrier"` CliISP string `json:"cli_isp"` CliVPN bool `json:"cli_vpn"` CliProxy bool `json:"cli_proxy"` CliChannel string `json:"cli_channel"` // Acc AccPackage string `json:"acc_package"` AccDevice string `json:"acc_device"` AccFacebook string `json:"acc_facebook"` AccGoogle string `json:"acc_google"` // User Nickname string `json:"nickname"` Avatar int64 `json:"avatar"` CPF string `json:"cpf"` PixType string `json:"pix_type"` PixAccount string `json:"pix_account"` Name string `json:"name"` PhoneNumber string `json:"phone_number"` // Char GroupBatch int64 `json:"group_batch"` Group string `json:"group"` Category string `json:"category"` CreateTime string `json:"create_time"` LoginTime string `json:"login_time"` LastLoginTime string `json:"last_login_time"` ProcessTime string `json:"process_time"` LastProcessTime string `json:"last_process_time"` Newbie bool `json:"newbie"` Novice bool `json:"novice"` NetworkPromotion string `json:"promote_network"` ActiveDays int64 `json:"active_days"` FirstRechargeTime string `json:"first_recharge_time"` LatestRechargeTime string `json:"latest_recharge_time"` RechargeTimes int64 `json:"recharge_times"` RechargeCurrency int64 `json:"recharge_currency"` // Book Coin int64 `json:"free_coin"` // Agg AggSlotsDailySpins int64 `json:"agg_slots_daily_spins"` AggSlotsDailyWin int64 `json:"agg_slots_daily_win"` AggSlotsDailyBet int64 `json:"agg_slots_daily_bet"` } UserBase struct { // Cli CliPackage string `json:"cli_package"` CliVersion string `json:"cli_version"` CliResVersion string `json:"cli_res_version"` CliPlatform string `json:"cli_platform"` CliOS string `json:"cli_os"` CliDevice string `json:"cli_device_model"` CliDeviceID string `json:"cli_device_id"` CliZoneOffset string `json:"cli_zone_offset"` CliIntranetIP string `json:"cli_intranet_ip"` CliInternetIP string `json:"cli_ip"` CliContinent string `json:"cli_continent"` CliCountry string `json:"cli_country"` CliASN string `json:"cli_asn"` CliNetworkPromotion string `json:"cli_promote_network"` CliIsNetworkPromotionRemote bool `json:"cli_is_promote_network_remote"` CliBackground bool `json:"cli_background"` CliSimulator bool `json:"cli_simulator"` CliLanguage string `json:"cli_language"` CliNetwork string `json:"cli_network"` CliCarrier string `json:"cli_carrier"` CliISP string `json:"cli_isp"` CliVPN bool `json:"cli_vpn"` CliProxy bool `json:"cli_proxy"` CliChannel string `json:"cli_channel"` // Acc AccPackage string `json:"acc_package"` AccDevice string `json:"acc_device"` AccFacebook string `json:"acc_facebook"` AccGoogle string `json:"acc_google"` // User Nickname string `json:"nickname"` Avatar int64 `json:"avatar"` CPF string `json:"cpf"` PixType string `json:"pix_type"` PixAccount string `json:"pix_account"` Name string `json:"name"` PhoneNumber string `json:"phone_number"` // Char GroupBatch int64 `json:"group_batch"` Group string `json:"group"` Category string `json:"category"` CreateTime string `json:"create_time"` LoginTime string `json:"login_time"` LastLoginTime string `json:"last_login_time"` ProcessTime string `json:"process_time"` LastProcessTime string `json:"last_process_time"` Newbie bool `json:"newbie"` Novice bool `json:"novice"` NetworkPromotion string `json:"promote_network"` ActiveDays int64 `json:"active_days"` FirstRechargeTime string `json:"first_recharge_time"` LatestRechargeTime string `json:"latest_recharge_time"` RechargeTimes int64 `json:"recharge_times"` RechargeCurrency int64 `json:"recharge_currency"` // Book Coin int64 `json:"free_coin"` FreeWinCoin int64 `json:"free_win_coin"` RechargeCoin int64 `json:"recharge_coin"` RechargeWinCoin int64 `json:"recharge_win_coin"` // Agg AggSlotsDailySpins int64 `json:"agg_slots_daily_spins"` AggSlotsDailyWin int64 `json:"agg_slots_daily_win"` AggSlotsDailyBet int64 `json:"agg_slots_daily_bet"` } UserAccount struct { CurrentAccount string `json:"current_account"` CurrentAccountType int64 `json:"current_account_type"` DeviceAccount string `json:"device_account"` DeviceEnable bool `json:"device_enable"` FacebookAccount string `json:"facebook_account"` FacebookEnable bool `json:"facebook_enable"` AppleAccount string `json:"apple_account"` AppleEnable bool `json:"apple_enable"` } LoginRequestReceived struct { AccessType string `json:"access_type"` AccessPackage string `json:"access_package"` AccessAccount string `json:"access_account"` AccessDevice string `json:"access_device"` IsGM bool `json:"is_gm"` } LoginGuaranteeUniqueSent struct { AccessType string `json:"access_type"` AccessPackage string `json:"access_package"` AccessAccount string `json:"access_account"` AccessDevice string `json:"access_device"` IsGM bool `json:"is_gm"` } LoginGuaranteeUniqueReceived struct { AccessType string `json:"access_type"` AccessPackage string `json:"access_package"` AccessAccount string `json:"access_account"` AccessDevice string `json:"access_device"` Result int64 `json:"result"` } Login struct { AccessType string `json:"access_type"` AccessPackage string `json:"access_package"` AccessAccount string `json:"access_account"` AccessDevice string `json:"access_device"` IsRepeated bool `json:"is_repeated"` } Logout struct { } Enter struct { } Leave struct { } CoinChange struct { Reason string `json:"reason"` Type string `json:"type"` BeforeCoin int64 `json:"before_coin"` IncCoin int64 `json:"inc_coin"` DecCoin int64 `json:"dec_coin"` AfterCoin int64 `json:"after_coin"` } CoinChangeSettle struct { Reason string `json:"reason"` Type string `json:"type"` BeforeCoin int64 `json:"before_coin"` IncCoin int64 `json:"inc_coin"` DecCoin int64 `json:"dec_coin"` AfterCoin int64 `json:"after_coin"` } CoinChangeBet struct { Reason string `json:"reason"` Type string `json:"type"` BeforeCoin int64 `json:"before_coin"` IncCoin int64 `json:"inc_coin"` DecCoin int64 `json:"dec_coin"` AfterCoin int64 `json:"after_coin"` } SlotsPlay struct { SlotsNodeType string `json:"slots_node_type"` SlotsBetIndex int64 `json:"slots_bet_index"` SlotsCoinValueIndex int64 `json:"slots_coin_value_index"` SlotsChoice int64 `json:"slots_choice"` SlotsStay bool `json:"slots_stay"` SlotsVersion int64 `json:"slots_version"` SlotsRatio float64 `json:"slots_ratio"` SlotsBet int64 `json:"slots_bet"` SlotsActBet int64 `json:"slots_act_bet"` SlotsTotalBet int64 `json:"slots_total_bet"` SlotsActualBet int64 `json:"slots_actual_bet"` SlotsWin int64 `json:"slots_win"` SlotsNodeTotalWin int64 `json:"slots_node_total_win"` SlotsTotalWin int64 `json:"slots_total_win"` SlotsAcutalWin int64 `json:"slots_actual_win"` SlotsActualWinType int64 `json:"slots_actual_win_type"` SlotsDisplaySymbols string `json:"slots_display_symbols"` SlotsFinalSymbols string `json:"slots_final_symbols"` SlotsFeatures string `json:"slots_features"` TotalBetCoin int64 `json:"total_bet_coin"` TotalPayoutCoin int64 `json:"total_payout_coin"` TotalPayoutRatio float64 `json:"total_payout_ratio"` ReservePoolEnable bool `json:"reserve_pool_enable"` ReservePoolChange int64 `json:"reserve_pool_change"` ReservePoolType int64 `json:"reserve_pool_type"` ReservePool int64 `json:"reserve_pool"` PumpAmount int64 `json:"pump_amount"` PumpRatio float64 `json:"pump_ratio"` ReservePumpAmount int64 `json:"reserve_pump_amount"` ReservePumpRatio float64 `json:"reserve_pump_ratio"` Novice int64 `json:"novice"` NewPoolValue int64 `json:"new_pool_value"` OldPoolValue int64 `json:"old_pool_value"` ReservePump int64 `json:"reserve_pump"` Poor bool `json:"poor"` Cycle int64 `json:"cycle"` CycleOverload bool `json:"cycle_overload"` Exception bool `json:"exception"` ExceptionType int64 `json:"exception_type"` Replay bool `json:"replay"` Vector string `json:"vector"` VectorType int64 `json:"vector_type"` VectorIndex int64 `json:"vector_index"` VectorMinRatio float64 `json:"vector_min_ratio"` VectorMaxRatio float64 `json:"vector_max_ratio"` ExpectedBetCoin int64 `json:"expected_bet_coin"` ExpectedWinCoin int64 `json:"expected_win_coin"` SkipWinCheck bool `json:"skip_win_check"` NoviceForceWin bool `json:"novice_force_win"` SecondStageForceWin bool `json:"second_stage_force_win"` PaidForceWin bool `json:"paid_force_win"` BuyFreeSpinForceWin bool `json:"buy_free_spin_force_win"` ContinousZeroForceWin bool `json:"continous_zero_force_win"` } Watchdog struct { GoroutineNum int64 `json:"goroutine_num"` // 协程数量 SessionNum int64 `json:"session_num"` // session数量 ActiveSessionNum int64 `json:"active_session_num"` // 活跃session数量 ActiveRechargeSessionNum int64 `json:"active_recharge_session_num"` // 活跃充值session数量 SessionSchedulerNum int64 `json:"session_scheduler_num"` // session调度器数量 CPU int64 `json:"cpu"` // CPU占用 mCores Memory int64 `json:"memory"` // 内存占用 MiB SyscallCPU int64 `json:"syscall_cpu"` // Syscall CPU占用 mCores SyscallMemory int64 `json:"syscall_memory"` // Syscall 内存占用 MiB RedisMemory int64 `json:"redis_memory"` // redis 内存占用 MiB } Assess struct { IndicatorRegisterHours int64 `json:"indicator_register_hours"` // 注册时长 IndicatorContinuousLoginDays int64 `json:"indicator_continuous_login_days"` // 连续登录天数 IndicatorActiveDaysRatio int64 `json:"indicator_active_days_ratio"` // 活跃天数比例 IndicatorAverageBetDaily int64 `json:"indicator_average_bet_daily"` // 日均投注额 IndicatorAverageBet int64 `json:"indicator_average_bet"` // 平均投注额 IndicatorBetTimesRatioDaily int64 `json:"indicator_bet_times_ratio_daily"` // 日均投注次数比例 IndicatorMaxWinDaily int64 `json:"indicator_max_win_daily"` // 日最大盈利 IndicatorMaxLoseDaily int64 `json:"indicator_max_lose_daily"` // 日最大亏损 IndicatorWinDaysRatio int64 `json:"indicator_win_days_ratio"` // 盈利天数比例 Score int64 `json:"score"` // 评分 SubCategory string `json:"sub_category"` // 子类别 } HandlePermit struct { Tag string `json:"tag"` Type string `json:"type"` Value string `json:"value"` Status bool `json:"status"` Reason string `json:"reason"` } RocksSyncLayer struct { Layer string `json:"layer"` Cost int64 `json:"cost"` Interval int64 `json:"interval"` RedisGetCost int64 `json:"redis_get_cost"` RedisRemCost int64 `json:"redis_rem_cost"` DDBSetCost int64 `json:"ddb_set_cost"` } HandlePlayerState struct { UID int64 `json:"uid"` Type string `json:"type"` // 原因 Reason string `json:"reason"` } Reorder struct { UID int64 `json:"uid"` InnerID string `json:"inner_id"` } )