Documentation
¶
Index ¶
- Variables
- func Logs(message ...string)
- func LogsColor(color int32, message string)
- func LogsProxyTime(message ...string)
- func LogsStaticTime(message ...string)
- func LogsTime(message ...string)
- type ProxyInterceptPanel
- type ProxyInterceptRequestBodyPanel
- type ProxyInterceptRequestPanel
- func (m *ProxyInterceptRequestPanel) ClearHeaderGrid()
- func (m *ProxyInterceptRequestPanel) ClearQueryParamsGrid()
- func (m *ProxyInterceptRequestPanel) HeaderGridAdd(key, value string)
- func (m *ProxyInterceptRequestPanel) HeaderGridHead()
- func (m *ProxyInterceptRequestPanel) QueryParamsGridAdd(key, value string)
- func (m *ProxyInterceptRequestPanel) RequestQueryParamsGridHead()
- type ProxyInterceptResponsePanel
- type ProxyInterceptSettingPanel
- type RequestDetailViewPanel
- type RightPanelUI
- type TGUIForm
Constants ¶
This section is empty.
Variables ¶
View Source
var GUIForm = &TGUIForm{}
Functions ¶
func LogsProxyTime ¶
func LogsProxyTime(message ...string)
func LogsStaticTime ¶
func LogsStaticTime(message ...string)
Types ¶
type ProxyInterceptPanel ¶
type ProxyInterceptPanel struct {
TPanel *lcl.TPanel
State int32 //当前状态
UrlAddrEdit *lcl.TEdit //拦截地址
StateLabel *lcl.TStaticText //拦截状态
StateOkBtn *lcl.TButton //拦截状态确认按钮
ProxyInterceptRequestPanel *ProxyInterceptRequestPanel //代理拦截请求Panel
ProxyInterceptResponsePanel *ProxyInterceptResponsePanel //代理拦截响应Panel
ProxyInterceptSettingPanel *ProxyInterceptSettingPanel //代理拦截配置Panel
InterceptQueue *common.Queue //拦截队列
InterceptQueueProxyDetail *entity.ProxyDetail //当前拦截队列处理的代理
IsUseInterceptQueue bool //是否正在使用拦截队列
// contains filtered or unexported fields
}
代理拦截Panel
type ProxyInterceptRequestBodyPanel ¶
type ProxyInterceptRequestBodyPanel struct {
TPanel *lcl.TPanel
RawPanel *lcl.TPanel
RawMemo *lcl.TMemo
FormDataGridPanel *lcl.TPanel
FormDataGrid *lcl.TStringGrid
FormDataGridOpenFile *lcl.TOpenDialog
FormDataGridList []*entity.FormDataGridList
FormDataGridRowCount int32
}
代理拦截请求Body Panel
func (*ProxyInterceptRequestBodyPanel) ClearFormDataGrid ¶
func (m *ProxyInterceptRequestBodyPanel) ClearFormDataGrid()
清空Body表格
func (*ProxyInterceptRequestBodyPanel) FormDataGridAdd ¶
func (m *ProxyInterceptRequestBodyPanel) FormDataGridAdd(t, key, value string)
请求Body表格添加
func (*ProxyInterceptRequestBodyPanel) FormDataGridHead ¶
func (m *ProxyInterceptRequestBodyPanel) FormDataGridHead()
请求Body表格头
type ProxyInterceptRequestPanel ¶
type ProxyInterceptRequestPanel struct {
TPanel *lcl.TPanel
ParamsGrid *lcl.TStringGrid
ParamsGridRowCount int32
HeadersGrid *lcl.TStringGrid
HeadersGridRowCount int32
TBodyPanel *ProxyInterceptRequestBodyPanel
}
代理拦截请求Panel
func (*ProxyInterceptRequestPanel) ClearHeaderGrid ¶
func (m *ProxyInterceptRequestPanel) ClearHeaderGrid()
清空头列表
func (*ProxyInterceptRequestPanel) ClearQueryParamsGrid ¶
func (m *ProxyInterceptRequestPanel) ClearQueryParamsGrid()
清空参数表格
func (*ProxyInterceptRequestPanel) HeaderGridAdd ¶
func (m *ProxyInterceptRequestPanel) HeaderGridAdd(key, value string)
请求拦截头添加
func (*ProxyInterceptRequestPanel) HeaderGridHead ¶
func (m *ProxyInterceptRequestPanel) HeaderGridHead()
请求拦截参数表格头
func (*ProxyInterceptRequestPanel) QueryParamsGridAdd ¶
func (m *ProxyInterceptRequestPanel) QueryParamsGridAdd(key, value string)
请求拦截参数列表添加
func (*ProxyInterceptRequestPanel) RequestQueryParamsGridHead ¶
func (m *ProxyInterceptRequestPanel) RequestQueryParamsGridHead()
请求拦截参数表格头
type ProxyInterceptResponsePanel ¶
代理拦截响应Panel
type ProxyInterceptSettingPanel ¶
type ProxyInterceptSettingPanel struct {
TPanel *lcl.TPanel
OnOffBtn *lcl.TImageButton
InterceptGrid *lcl.TStringGrid
//InterceptGridRowCount int32
InterceptGridConfigData *[]*entity.ProxyInterceptConfig
}
代理拦截配置Panel
func (*ProxyInterceptSettingPanel) InterceptGridAdd ¶
func (m *ProxyInterceptSettingPanel) InterceptGridAdd(URL string)
请求拦截参数列表添加
func (*ProxyInterceptSettingPanel) InterceptGridConfigDataAdd ¶
func (m *ProxyInterceptSettingPanel) InterceptGridConfigDataAdd(URL string)
拦截配置列表添加配置数据
func (*ProxyInterceptSettingPanel) InterceptGridHead ¶
func (m *ProxyInterceptSettingPanel) InterceptGridHead()
请求拦截参数表格头
type RequestDetailViewPanel ¶
type RequestDetailViewPanel struct {
TPanel *lcl.TPanel
IdEdit *lcl.TLabeledEdit
MethodComboBox *lcl.TComboBox
HostEdit *lcl.TLabeledEdit
SourceEdit *lcl.TLabeledEdit
TargetEdit *lcl.TLabeledEdit
RequestDetailViewMemo *lcl.TMemo
ResponseDetailViewMemo *lcl.TMemo
}
代理详情查看Panel
type RightPanelUI ¶
type RightPanelUI struct {
TPanel *lcl.TPanel
RequestDetailViewPanel *RequestDetailViewPanel //代理详情查看 Sheet Panel
ProxyInterceptConfigPanel *ProxyInterceptPanel //代理拦截配置 Sheet Panel
}
代理Panel
type TGUIForm ¶
type TGUIForm struct {
*lcl.TForm
ProxyLogsGridRowStyle map[int32]*entity.ProxyLogsGridRowStyle //每行的样式
ProxyDetails map[int32]*entity.ProxyDetail //代理详情数据集合
// contains filtered or unexported fields
}
func (*TGUIForm) OnFormCreate ¶
Click to show internal directories.
Click to hide internal directories.