Documentation ¶
Index ¶
- func ReplayedAfterFetchAndPlay(ctx context.Context, sid string, req idl.ReplayedReq, ...) (int, idl.ReplayedResp)
- func ReplayedBeforeFetchSession(r *http.Request, ps httprouter.Params) (int, string, context.Context, idl.ReplayedReq, idl.ReplayedResp)
- func ReplayedFetchAndPlay(ctx context.Context, sid string, req idl.ReplayedReq) (int, idl.ReplayedResp, *worker.Replayer)
- func SearchPreHandle(w http.ResponseWriter, r *http.Request) (int, idl.SearchResp, context.Context, idl.SearchReq)
- func SessionFromES(ctx context.Context, sid string) (int, []byte)
- func SessionFromLocal(ctx context.Context, sid string, project string, r *http.Request) (int, []byte)
- func SessionPreHandle(w http.ResponseWriter, r *http.Request, ps httprouter.Params) (context.Context, string, string)
- type BaseController
- type ShaRinGan
- func (srg ShaRinGan) AutoReplay(w http.ResponseWriter, r *http.Request)
- func (srg ShaRinGan) CodeCoverage(w http.ResponseWriter, r *http.Request)
- func (srg ShaRinGan) CodeCoverageReport(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (srg ShaRinGan) DelNoise(w http.ResponseWriter, r *http.Request)
- func (srg ShaRinGan) DiffBinary(w http.ResponseWriter, r *http.Request)
- func (srg ShaRinGan) Index(w http.ResponseWriter, r *http.Request)
- func (srg ShaRinGan) Noise(w http.ResponseWriter, r *http.Request)
- func (srg ShaRinGan) PlatformGetDsl(w http.ResponseWriter, r *http.Request)
- func (srg ShaRinGan) PlatformModules(w http.ResponseWriter, r *http.Request)
- func (srg ShaRinGan) PlatformPostDsl(w http.ResponseWriter, r *http.Request)
- func (srg ShaRinGan) Replay(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (srg ShaRinGan) Replayed(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (srg ShaRinGan) Search(w http.ResponseWriter, r *http.Request)
- func (srg ShaRinGan) Session(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (srg ShaRinGan) Xxd(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplayedAfterFetchAndPlay ¶
func ReplayedAfterFetchAndPlay(ctx context.Context, sid string, req idl.ReplayedReq, replayedSession *replayed.Session) (int, idl.ReplayedResp)
func ReplayedBeforeFetchSession ¶
func ReplayedBeforeFetchSession(r *http.Request, ps httprouter.Params) (int, string, context.Context, idl.ReplayedReq, idl.ReplayedResp)
func ReplayedFetchAndPlay ¶
func ReplayedFetchAndPlay(ctx context.Context, sid string, req idl.ReplayedReq) (int, idl.ReplayedResp, *worker.Replayer)
func SearchPreHandle ¶
func SessionFromLocal ¶
func SessionPreHandle ¶
func SessionPreHandle(w http.ResponseWriter, r *http.Request, ps httprouter.Params) (context.Context, string, string)
Types ¶
type BaseController ¶
type BaseController struct { }
BaseController 基础Controller
func (*BaseController) Echo ¶
func (bs *BaseController) Echo(w http.ResponseWriter, req *http.Request, body []byte)
Echo 原始输出,包含tracelog
func (*BaseController) EchoJSON ¶
func (bs *BaseController) EchoJSON(w http.ResponseWriter, r *http.Request, body interface{})
EchoJSON json格式输出
type ShaRinGan ¶
type ShaRinGan struct { BaseController // contains filtered or unexported fields }
func (ShaRinGan) AutoReplay ¶
func (srg ShaRinGan) AutoReplay(w http.ResponseWriter, r *http.Request)
*
- 批量回放
func (ShaRinGan) CodeCoverage ¶
func (srg ShaRinGan) CodeCoverage(w http.ResponseWriter, r *http.Request)
CodeCoverage 代码覆盖率
func (ShaRinGan) CodeCoverageReport ¶
func (srg ShaRinGan) CodeCoverageReport(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (ShaRinGan) DelNoise ¶
func (srg ShaRinGan) DelNoise(w http.ResponseWriter, r *http.Request)
*
- 删除噪音
func (ShaRinGan) DiffBinary ¶
func (srg ShaRinGan) DiffBinary(w http.ResponseWriter, r *http.Request)
func (ShaRinGan) PlatformGetDsl ¶
func (srg ShaRinGan) PlatformGetDsl(w http.ResponseWriter, r *http.Request)
PlatformGetDsl nuwa平台接口 查询模块dsl上报数据
func (ShaRinGan) PlatformModules ¶
func (srg ShaRinGan) PlatformModules(w http.ResponseWriter, r *http.Request)
PlatformModules nuwa平台接口 读取所有模块数据
func (ShaRinGan) PlatformPostDsl ¶
func (srg ShaRinGan) PlatformPostDsl(w http.ResponseWriter, r *http.Request)
PlatformPostDsl nuwa平台接口 上报模块dsl数据
func (ShaRinGan) Replay ¶
func (srg ShaRinGan) Replay(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
*
- 回放平台
func (ShaRinGan) Replayed ¶
func (srg ShaRinGan) Replayed(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
*
- 单个session回放 *
- @Return ajax返回
func (ShaRinGan) Search ¶
func (srg ShaRinGan) Search(w http.ResponseWriter, r *http.Request)
*
- 流量搜索
func (ShaRinGan) Session ¶
func (srg ShaRinGan) Session(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
*
- 查看session详情
Click to show internal directories.
Click to hide internal directories.