Documentation ¶
Overview ¶
控制器层
Index ¶
- Variables
- func DebugDataWs(c *websocket.Conn)
- func GetWordParse(ctx *fasthttp.RequestCtx)
- type AppController
- func (this AppController) Config(ctx *fiber.Ctx) error
- func (this AppController) Create(ctx *fiber.Ctx) error
- func (this AppController) List(ctx *fiber.Ctx) error
- func (this AppController) ResetAppkey(ctx *fiber.Ctx) error
- func (this AppController) StatusAction(ctx *fiber.Ctx) error
- func (this AppController) UpdateManager(ctx *fiber.Ctx) error
- type BaseController
- type BehaviorAnalysisController
- func (this BehaviorAnalysisController) EventList(ctx *fiber.Ctx) error
- func (this BehaviorAnalysisController) FunnelList(ctx *fiber.Ctx) error
- func (this BehaviorAnalysisController) GetConfigs(ctx *fiber.Ctx) error
- func (this BehaviorAnalysisController) GetValues(ctx *fiber.Ctx) error
- func (this BehaviorAnalysisController) LoadPropQuotas(ctx *fiber.Ctx) error
- func (this BehaviorAnalysisController) RetentionList(ctx *fiber.Ctx) error
- func (this BehaviorAnalysisController) TraceList(ctx *fiber.Ctx) error
- func (this BehaviorAnalysisController) UserAttrList(ctx *fiber.Ctx) error
- func (this BehaviorAnalysisController) UserEventCountList(ctx *fiber.Ctx) error
- func (this BehaviorAnalysisController) UserEventDetailList(ctx *fiber.Ctx) error
- func (this BehaviorAnalysisController) UserList(ctx *fiber.Ctx) error
- type GmOperaterController
- type ManagerConnMap
- type ManagerRoleController
- func (this ManagerRoleController) RoleOptionAction(ctx *Ctx) error
- func (this ManagerRoleController) RolesAction(ctx *Ctx) error
- func (this ManagerRoleController) RolesAddAction(ctx *Ctx) error
- func (this ManagerRoleController) RolesDelAction(ctx *Ctx) error
- func (this ManagerRoleController) RolesUpdateAction(ctx *Ctx) error
- type ManagerUserController
- func (this ManagerUserController) DeleteUserAction(ctx *Ctx) error
- func (this ManagerUserController) GetUserByIdAction(ctx *Ctx) error
- func (this ManagerUserController) Login(ctx *Ctx) error
- func (this ManagerUserController) LogoutAction(ctx *Ctx) error
- func (this ManagerUserController) ModifyPwd(ctx *Ctx) error
- func (this ManagerUserController) UserAddAction(ctx *Ctx) error
- func (this ManagerUserController) UserBanAction(ctx *Ctx) error
- func (this ManagerUserController) UserInfo(ctx *Ctx) error
- func (this ManagerUserController) UserListAction(ctx *Ctx) error
- func (this ManagerUserController) UserUpdateAction(ctx *Ctx) error
- type MetaDataController
- func (this MetaDataController) AttrManager(ctx *fiber.Ctx) error
- func (this MetaDataController) AttrManagerByMeta(ctx *fiber.Ctx) error
- func (this MetaDataController) GetAnalyseSelectOptions(ctx *fiber.Ctx) error
- func (this MetaDataController) GetCalcuSymbolData(ctx *fiber.Ctx) error
- func (this MetaDataController) MetaEventList(ctx *fiber.Ctx) error
- func (this MetaDataController) MetaEventListByAttr(ctx *fiber.Ctx) error
- func (this MetaDataController) UpdateAttrInvisible(ctx *fiber.Ctx) error
- func (this MetaDataController) UpdateAttrShowName(ctx *fiber.Ctx) error
- func (this MetaDataController) UpdateShowName(ctx *fiber.Ctx) error
- type PanelController
- func (this PanelController) AddReportTable(ctx *fiber.Ctx) error
- func (this PanelController) CopyPannel(ctx *fiber.Ctx) error
- func (this PanelController) DeleteDir(ctx *fiber.Ctx) error
- func (this PanelController) DeletePannel(ctx *fiber.Ctx) error
- func (this PanelController) DeleteReportTableByID(ctx *fiber.Ctx) error
- func (this PanelController) FindNameCount(ctx *fiber.Ctx) error
- func (this PanelController) FindRtById(ctx *fiber.Ctx) error
- func (this PanelController) GetPannelList(ctx *fiber.Ctx) error
- func (this PanelController) MovePannel2Dir(ctx *fiber.Ctx) error
- func (this PanelController) NewDir(ctx *fiber.Ctx) error
- func (this PanelController) NewPannel(ctx *fiber.Ctx) error
- func (this PanelController) Rename(ctx *fiber.Ctx) error
- func (this PanelController) ReportTableList(ctx *fiber.Ctx) error
- func (this PanelController) RtListByAppid(ctx *fiber.Ctx) error
- func (this PanelController) UpdatePannelManager(ctx *fiber.Ctx) error
- func (this PanelController) UpdatePannelRt(ctx *fiber.Ctx) error
- type RbacController
- type RealDataController
- func (this RealDataController) AddDebugDeviceID(ctx *fiber.Ctx) error
- func (this RealDataController) DebugDeviceIDList(ctx *fiber.Ctx) error
- func (this RealDataController) DelDebugDeviceID(ctx *fiber.Ctx) error
- func (this RealDataController) EventFailDesc(ctx *fiber.Ctx) error
- func (this RealDataController) FailDataDesc(ctx *fiber.Ctx) error
- func (this RealDataController) FailDataList(ctx *fiber.Ctx) error
- func (this RealDataController) List(ctx *fiber.Ctx) error
- func (this RealDataController) ReportCount(ctx *fiber.Ctx) error
- type ReportController
- type UserGroupController
- func (this UserGroupController) AddUserGroup(ctx *fiber.Ctx) error
- func (this UserGroupController) DeleteUserGroup(ctx *fiber.Ctx) error
- func (this UserGroupController) ModifyUserGroup(ctx *fiber.Ctx) error
- func (this UserGroupController) UserGroupList(ctx *fiber.Ctx) error
- func (this UserGroupController) UserGroupSelect(ctx *fiber.Ctx) error
- type Word
Constants ¶
This section is empty.
Variables ¶
View Source
var ConnUUidMap sync.Map
Functions ¶
func GetWordParse ¶
func GetWordParse(ctx *fasthttp.RequestCtx)
Types ¶
type AppController ¶
type AppController struct {
BaseController
}
func (AppController) List ¶
func (this AppController) List(ctx *fiber.Ctx) error
func (AppController) ResetAppkey ¶
func (this AppController) ResetAppkey(ctx *fiber.Ctx) error
重置应用的appkey
func (AppController) StatusAction ¶
func (this AppController) StatusAction(ctx *fiber.Ctx) error
修改应用的状态
func (AppController) UpdateManager ¶
func (this AppController) UpdateManager(ctx *fiber.Ctx) error
修改应用管理员
type BehaviorAnalysisController ¶
type BehaviorAnalysisController struct {
BaseController
}
func (BehaviorAnalysisController) EventList ¶
func (this BehaviorAnalysisController) EventList(ctx *fiber.Ctx) error
事件分析查询
func (BehaviorAnalysisController) FunnelList ¶
func (this BehaviorAnalysisController) FunnelList(ctx *fiber.Ctx) error
漏斗分析查询
func (BehaviorAnalysisController) GetConfigs ¶
func (this BehaviorAnalysisController) GetConfigs(ctx *fiber.Ctx) error
获取分析面板初始化数据
func (BehaviorAnalysisController) GetValues ¶
func (this BehaviorAnalysisController) GetValues(ctx *fiber.Ctx) error
获取上报字段所有的值
func (BehaviorAnalysisController) LoadPropQuotas ¶
func (this BehaviorAnalysisController) LoadPropQuotas(ctx *fiber.Ctx) error
根据事件名查找指标的运算函数
func (BehaviorAnalysisController) RetentionList ¶
func (this BehaviorAnalysisController) RetentionList(ctx *fiber.Ctx) error
留存分析查询
func (BehaviorAnalysisController) TraceList ¶
func (this BehaviorAnalysisController) TraceList(ctx *fiber.Ctx) error
智能路径分析查询
func (BehaviorAnalysisController) UserAttrList ¶
func (this BehaviorAnalysisController) UserAttrList(ctx *fiber.Ctx) error
用户属性分析查询
func (BehaviorAnalysisController) UserEventCountList ¶
func (this BehaviorAnalysisController) UserEventCountList(ctx *fiber.Ctx) error
查询用户访问过的事件统计
func (BehaviorAnalysisController) UserEventDetailList ¶
func (this BehaviorAnalysisController) UserEventDetailList(ctx *fiber.Ctx) error
查询用户访问过的事件详情
func (BehaviorAnalysisController) UserList ¶
func (this BehaviorAnalysisController) UserList(ctx *fiber.Ctx) error
用户列表查询
type GmOperaterController ¶
type GmOperaterController struct {
BaseController
}
func (GmOperaterController) ListAction ¶
func (this GmOperaterController) ListAction(ctx *fiber.Ctx) error
查看后台操作日志
type ManagerConnMap ¶
func NewManagerConnMap ¶
func NewManagerConnMap() *ManagerConnMap
func (*ManagerConnMap) AddManagerConn ¶
func (this *ManagerConnMap) AddManagerConn(manager string, conn *websocket.Conn)
func (*ManagerConnMap) DeleteConn ¶
func (this *ManagerConnMap) DeleteConn(manager string)
type ManagerRoleController ¶
type ManagerRoleController struct {
BaseController
}
GM角色控制器
func (ManagerRoleController) RoleOptionAction ¶
func (this ManagerRoleController) RoleOptionAction(ctx *Ctx) error
获取Gm角色下拉选
func (ManagerRoleController) RolesAction ¶
func (this ManagerRoleController) RolesAction(ctx *Ctx) error
获取所有的GM 角色
func (ManagerRoleController) RolesAddAction ¶
func (this ManagerRoleController) RolesAddAction(ctx *Ctx) error
新增GM角色
func (ManagerRoleController) RolesDelAction ¶
func (this ManagerRoleController) RolesDelAction(ctx *Ctx) error
删除GM角色
func (ManagerRoleController) RolesUpdateAction ¶
func (this ManagerRoleController) RolesUpdateAction(ctx *Ctx) error
修改GM角色
type ManagerUserController ¶
type ManagerUserController struct {
BaseController
}
BI用户控制器
func (ManagerUserController) DeleteUserAction ¶
func (this ManagerUserController) DeleteUserAction(ctx *Ctx) error
删除BI用户
func (ManagerUserController) GetUserByIdAction ¶
func (this ManagerUserController) GetUserByIdAction(ctx *Ctx) error
用ID获取用户信息
func (ManagerUserController) LogoutAction ¶
func (this ManagerUserController) LogoutAction(ctx *Ctx) error
退出登录
func (ManagerUserController) ModifyPwd ¶
func (this ManagerUserController) ModifyPwd(ctx *Ctx) error
修改自己的密码
func (ManagerUserController) UserAddAction ¶
func (this ManagerUserController) UserAddAction(ctx *Ctx) error
新增BI用户
func (ManagerUserController) UserBanAction ¶
func (this ManagerUserController) UserBanAction(ctx *Ctx) error
禁用或者解封账号
func (ManagerUserController) UserInfo ¶
func (this ManagerUserController) UserInfo(ctx *Ctx) error
用户详细信息
func (ManagerUserController) UserListAction ¶
func (this ManagerUserController) UserListAction(ctx *Ctx) error
BI用户列表
func (ManagerUserController) UserUpdateAction ¶
func (this ManagerUserController) UserUpdateAction(ctx *Ctx) error
修改BI用户信息
type MetaDataController ¶
type MetaDataController struct {
BaseController
}
func (MetaDataController) AttrManager ¶
func (this MetaDataController) AttrManager(ctx *fiber.Ctx) error
查看上报属性列表
func (MetaDataController) AttrManagerByMeta ¶
func (this MetaDataController) AttrManagerByMeta(ctx *fiber.Ctx) error
查看上报属性列表(通过元事件)
func (MetaDataController) GetAnalyseSelectOptions ¶
func (this MetaDataController) GetAnalyseSelectOptions(ctx *fiber.Ctx) error
获取分析数据时的下拉选配置
func (MetaDataController) GetCalcuSymbolData ¶
func (this MetaDataController) GetCalcuSymbolData(ctx *fiber.Ctx) error
func (MetaDataController) MetaEventList ¶
func (this MetaDataController) MetaEventList(ctx *fiber.Ctx) error
元事件列表
func (MetaDataController) MetaEventListByAttr ¶
func (this MetaDataController) MetaEventListByAttr(ctx *fiber.Ctx) error
元事件列表(通过属性查找)
func (MetaDataController) UpdateAttrInvisible ¶
func (this MetaDataController) UpdateAttrInvisible(ctx *fiber.Ctx) error
修改属性是否可见
func (MetaDataController) UpdateAttrShowName ¶
func (this MetaDataController) UpdateAttrShowName(ctx *fiber.Ctx) error
修改属性显示名
func (MetaDataController) UpdateShowName ¶
func (this MetaDataController) UpdateShowName(ctx *fiber.Ctx) error
更新事件显示名
type PanelController ¶
type PanelController struct {
BaseController
}
func (PanelController) AddReportTable ¶
func (this PanelController) AddReportTable(ctx *fiber.Ctx) error
新增/修改自己的已存报表
func (PanelController) CopyPannel ¶
func (this PanelController) CopyPannel(ctx *fiber.Ctx) error
复制面板
func (PanelController) DeleteDir ¶
func (this PanelController) DeleteDir(ctx *fiber.Ctx) error
删除文件夹
func (PanelController) DeletePannel ¶
func (this PanelController) DeletePannel(ctx *fiber.Ctx) error
删除面板
func (PanelController) DeleteReportTableByID ¶
func (this PanelController) DeleteReportTableByID(ctx *fiber.Ctx) error
删除自己的已存报表
func (PanelController) FindNameCount ¶
func (this PanelController) FindNameCount(ctx *fiber.Ctx) error
检测报表名称是否重名
func (PanelController) FindRtById ¶
func (this PanelController) FindRtById(ctx *fiber.Ctx) error
通过ID查看报表信息
func (PanelController) GetPannelList ¶
func (this PanelController) GetPannelList(ctx *fiber.Ctx) error
查看面板信息
func (PanelController) MovePannel2Dir ¶
func (this PanelController) MovePannel2Dir(ctx *fiber.Ctx) error
迁移面板到指定文件夹
func (PanelController) ReportTableList ¶
func (this PanelController) ReportTableList(ctx *fiber.Ctx) error
查看自己的已存报表
func (PanelController) RtListByAppid ¶
func (this PanelController) RtListByAppid(ctx *fiber.Ctx) error
获取面板的报表相关属性
func (PanelController) UpdatePannelManager ¶
func (this PanelController) UpdatePannelManager(ctx *fiber.Ctx) error
分享面板给其他成员
func (PanelController) UpdatePannelRt ¶
func (this PanelController) UpdatePannelRt(ctx *fiber.Ctx) error
修改面板的报表排序
type RealDataController ¶
type RealDataController struct {
BaseController
}
func (RealDataController) AddDebugDeviceID ¶
func (this RealDataController) AddDebugDeviceID(ctx *fiber.Ctx) error
添加DEBUG设备ID
func (RealDataController) DebugDeviceIDList ¶
func (this RealDataController) DebugDeviceIDList(ctx *fiber.Ctx) error
查看测试设备列表
func (RealDataController) DelDebugDeviceID ¶
func (this RealDataController) DelDebugDeviceID(ctx *fiber.Ctx) error
删除测试设备
func (RealDataController) EventFailDesc ¶
func (this RealDataController) EventFailDesc(ctx *fiber.Ctx) error
事件失败详情
func (RealDataController) FailDataDesc ¶
func (this RealDataController) FailDataDesc(ctx *fiber.Ctx) error
抽样示例
func (RealDataController) FailDataList ¶
func (this RealDataController) FailDataList(ctx *fiber.Ctx) error
错误数据列表
func (RealDataController) ReportCount ¶
func (this RealDataController) ReportCount(ctx *fiber.Ctx) error
查看所有上报数据情况
type ReportController ¶
type ReportController struct {
BaseController
}
func (ReportController) ReportAction ¶
func (this ReportController) ReportAction(ctx *fasthttp.RequestCtx)
上报接口
type UserGroupController ¶
type UserGroupController struct {
BaseController
}
func (UserGroupController) AddUserGroup ¶
func (this UserGroupController) AddUserGroup(ctx *fiber.Ctx) error
新增用户分群
func (UserGroupController) DeleteUserGroup ¶
func (this UserGroupController) DeleteUserGroup(ctx *fiber.Ctx) error
删除用户分群
func (UserGroupController) ModifyUserGroup ¶
func (this UserGroupController) ModifyUserGroup(ctx *fiber.Ctx) error
修改用户分群
func (UserGroupController) UserGroupList ¶
func (this UserGroupController) UserGroupList(ctx *fiber.Ctx) error
用户分群列表
func (UserGroupController) UserGroupSelect ¶
func (this UserGroupController) UserGroupSelect(ctx *fiber.Ctx) error
用户分群下拉选
type Word ¶
type Word struct { Danci string `json:"danci"` ChineseFanyi []string `json:"chinese_fanyi"` YingYingBiao string `json:"ying_ying_biao"` MeiYingBiao string `json:"mei_ying_biao"` Additional string `json:"additional"` WebTrans struct { TWebTrans map[string]string `json:"t_web_trans"` WebPhrase map[string]string `json:"web_phrase"` TPETrans map[string][]struct { Title string `json:"title"` Additional string `json:"additional"` Source string `json:"source"` Trans string `json:"trans"` } `json:"tpe_trans"` TEETrans map[string][]struct { Def string `json:"def"` Juzi string `json:"juzi"` TongYiCi string `json:"tong_yi_ci"` } `json:"tee_trans"` TEETransName map[string]string `json:"tee_trans_name"` } `json:"web_trans"` WordGroup map[string]string `json:"word_group"` JinYiCi map[string]string `json:"jin_yi_ci"` TongGengCi map[string]string `json:"tong_geng_ci"` CiYuBianXi map[string]string `json:"ci_yu_bian_xi"` ShuangYuLiJu map[string]string `json:"shuang_yu_li_ju"` YingAudio string `json:"ying_audio"` MeiAudio string `json:"mei_audio"` }
Source Files ¶
- app_controller.go
- base_controller.go
- behavior_analysis_controller.go
- debug_data_controller.go
- gm_operater_log.go
- manager_role_controller.go
- manager_user_controller.go
- metadata_controller.go
- panel_controller.go
- rbac_controller.go
- realdata_controller.go
- report_controller.go
- user_group_controller.go
- word_controller.go
Click to show internal directories.
Click to hide internal directories.