MCPcopy Create free account

hub / github.com/qustavo/httplab / functions

Functions114 in github.com/qustavo/httplab

↓ 20 callersMethodNext
Next returns the next point in the set
ui/split.go:39
↓ 16 callersMethodInfo
Info prints information on the InfoView.
ui/ui.go:313
↓ 13 callersMethodGet
Get gets the cursor position.
ui/ui.go:72
↓ 11 callersMethodclosePopup
(g *gocui.Gui, viewname string)
ui/ui.go:500
↓ 10 callersMethodIndex
Index retrieves the index of the current item in the response list.
response.go:326
↓ 9 callersMethodGet
Get retrieves a specific response by name from the response list.
response.go:335
↓ 8 callersMethodCur
Cur retrieves the current response from the response list.
response.go:323
↓ 8 callersMethodSet
Set sets the cursor position.
ui/ui.go:80
↓ 7 callersMethodCurrent
Current returns the current point in the set
ui/split.go:50
↓ 7 callersMethodFixed
Fixed defines a set of fixed or absolute points
ui/split.go:19
↓ 7 callersFunctionNewResponse
NewResponse configures a new response. An empty status will be interpreted as 200 OK.
response.go:173
↓ 7 callersFunctionNewSplit
NewSplit returns a new Split
ui/split.go:14
↓ 7 callersMethodWrite
Write flushes the body into the ResponseWriter, hence sending it over the wire.
response.go:216
↓ 6 callersMethodsetView
(g *gocui.Gui, view string)
ui/ui.go:466
↓ 5 callersMethodAdd
Add appends a response item to the list. You need to supply a key for the item.
response.go:338
↓ 5 callersMethodLen
Len reports the length of the response list.
response.go:329
↓ 5 callersMethodRelative
Relative defines a set of relative points
ui/split.go:29
↓ 5 callersFunctionnewEditor
(ui *UI, g *gocui.Gui, handler gocui.Editor)
ui/editor.go:16
↓ 5 callersFunctionwithColor
(color int, text string)
dump.go:28
↓ 4 callersMethodAddRequest
AddRequest adds a new request to the UI.
ui/ui.go:165
↓ 4 callersFunctionDumpRequest
DumpRequest pretty prints an http.Request
dump.go:53
↓ 4 callersMethodNext
Next iterates to the next item in the response list.
response.go:317
↓ 4 callersMethodPayload
Payload reads out a []byte payload according to it's configuration in Body.BodyMode.
response.go:46
↓ 4 callersFunctiongetViewBuffer
(g *gocui.Gui, view string)
ui/ui.go:398
↓ 4 callersMethodopenPopup
(g *gocui.Gui, viewname string, x, y int)
ui/ui.go:515
↓ 4 callersMethodrenderBody
(g *gocui.Gui)
ui/ui.go:710
↓ 3 callersFunctionDecolorize
Decolorize remove the color escape sequences from a []byte encoded string
dump.go:17
↓ 3 callersMethodLoad
Load loads a response list from a local JSON document.
response.go:266
↓ 3 callersFunctionNewResponsesList
NewResponsesList creates a new empty response list and returns it.
response.go:234
↓ 3 callersMethodPrev
Prev iterates to the previous item in the response list.
response.go:320
↓ 3 callersMethodprevRequest
(g *gocui.Gui)
ui/ui.go:373
↓ 3 callersMethodupdateRequest
(g *gocui.Gui)
ui/ui.go:183
↓ 2 callersMethodApply
(ui *UI, g *gocui.Gui)
ui/bindings.go:24
↓ 2 callersMethodDel
Del removes an item spceified by its key from the response list. It returns false if the item didn't exist at all.
response.go:346
↓ 2 callersFunctionExpandPath
ExpandPath expands a given path by replacing '~' with $HOME of the current user.
response.go:359
↓ 2 callersMethodHelp
()
ui/bindings.go:48
↓ 2 callersMethodKeys
Keys retrieves an []string of all keys in the response list.
response.go:332
↓ 2 callersMethodResponse
Response returns the current response setting.
ui/ui.go:353
↓ 2 callersMethodSave
Save saves the current response list to a JSON document on local disk.
response.go:286
↓ 2 callersMethodSetFile
SetFile set a new source file for the body, if it exists.
response.go:85
↓ 2 callersMethodcurrentResponse
(g *gocui.Gui)
ui/ui.go:406
↓ 2 callersFunctionnewTestUI
(t *testing.T)
ui/ui_test.go:17
↓ 2 callersMethodnextRequest
(g *gocui.Gui)
ui/ui.go:386
↓ 2 callersFunctionopenConfigFile
(path string)
response.go:366
↓ 2 callersMethodopenSavePopup
(g *gocui.Gui, title string, fn func(*gocui.Gui, string) error)
ui/ui.go:631
↓ 2 callersMethodreset
()
response.go:238
↓ 2 callersMethodupdateResponse
(g *gocui.Gui)
ui/ui.go:431
↓ 1 callersMethodDisplay
Display displays arbitraty info into a given view.
ui/ui.go:337
↓ 1 callersMethodEdit
(v *gocui.View, key gocui.Key, ch rune, mod gocui.Modifier)
ui/editor.go:24
↓ 1 callersMethodInit
Init initializes the UI.
ui/ui.go:114
↓ 1 callersMethodLayout
Layout sets the layout
ui/ui.go:213
↓ 1 callersFunctionNew
New returns a new UI with default values specified on the Response.
ui/ui.go:104
↓ 1 callersFunctionNewCursors
NewCursors returns a new Cursor.
ui/ui.go:62
↓ 1 callersFunctionNewHandler
NewHandler returns a new http.Handler
cmd/httplab/main.go:24
↓ 1 callersMethodRestore
Restore restores the cursor position.
ui/ui.go:67
↓ 1 callersMethodString
String to satisfy interface fmt.Stringer
response.go:21
↓ 1 callersFunctionVersion
Version prints the version and exits
cmd/httplab/main.go:60
↓ 1 callersMethodcreatePopupView
(g *gocui.Gui, viewname string, w, h int)
ui/ui.go:488
↓ 1 callersFunctiondefaultConfigPath
()
cmd/httplab/main.go:38
↓ 1 callersMethodload
(path string)
response.go:245
↓ 1 callersFunctionmax
(a, b int)
ui/ui.go:50
↓ 1 callersFunctionnewResponse
(args *cmdArgs)
cmd/httplab/main.go:121
↓ 1 callersMethodnextBodyMode
(g *gocui.Gui)
ui/ui.go:757
↓ 1 callersMethodnextView
(g *gocui.Gui)
ui/ui.go:357
↓ 1 callersMethodopenBodyFilePopup
(g *gocui.Gui)
ui/ui.go:724
↓ 1 callersMethodprevView
(g *gocui.Gui)
ui/ui.go:365
↓ 1 callersMethodresetRequests
(g *gocui.Gui)
ui/ui.go:195
↓ 1 callersMethodrestoreResponse
(g *gocui.Gui, r *httplab.Response)
ui/ui.go:443
↓ 1 callersFunctionrun
(args cmdArgs, middleware func(next http.Handler) http.Handler)
cmd/httplab/main.go:130
↓ 1 callersMethodsaveRequestPopup
(g *gocui.Gui)
ui/ui.go:678
↓ 1 callersMethodsaveResponsePopup
(g *gocui.Gui)
ui/ui.go:659
↓ 1 callersMethodsetResponseView
(g *gocui.Gui, x0, y0, x1, y1 int)
ui/ui.go:254
↓ 1 callersFunctionsortedHeaderKeys
(req *http.Request)
dump.go:79
↓ 1 callersMethodtoggleHelp
(g *gocui.Gui, help string)
ui/ui.go:530
↓ 1 callersMethodtoggleLineWrap
(g *gocui.Gui)
ui/ui.go:767
↓ 1 callersMethodtoggleResponseBuilder
(g *gocui.Gui)
ui/ui.go:622
↓ 1 callersMethodtoggleResponsesLoader
(g *gocui.Gui)
ui/ui.go:546
↓ 1 callersFunctionvalueOrDefault
(value, def string)
dump.go:21
↓ 1 callersFunctionwriteBody
(buf *bytes.Buffer, req *http.Request)
dump.go:32
MethodEdit
(v *gocui.View, key gocui.Key, ch rune, mod gocui.Modifier)
ui/editor.go:56
MethodEdit
(v *gocui.View, key gocui.Key, ch rune, mod gocui.Modifier)
ui/editor.go:77
MethodInfo
Info returns some basic info on the body.
response.go:64
MethodMarshalJSON
MarshalJSON serializes the response into a JSON []byte.
response.go:143
FunctionTestDecolorization
(t *testing.T)
dump_test.go:60
FunctionTestDumpRequestHeaders
(t *testing.T)
dump_test.go:40
FunctionTestDumpRequestWithJSON
(t *testing.T)
dump_test.go:16
FunctionTestExpandPathExpansion
(t *testing.T)
response_test.go:167
FunctionTestLoadFromJSON
(t *testing.T)
response_test.go:137
FunctionTestResponseHeaders
(t *testing.T)
response_test.go:43
FunctionTestResponseStatus
(t *testing.T)
response_test.go:16
FunctionTestResponseWrite
(t *testing.T)
response_test.go:62
FunctionTestResponsesList
(t *testing.T)
response_test.go:81
FunctionTestSplit
(t *testing.T)
ui/split_test.go:9
FunctionTestUIAddRequestSavesInOrder
(t *testing.T)
ui/ui_test.go:27
FunctionTestUIScrollRequests
(t *testing.T)
ui/ui_test.go:47
MethodUnmarshalJSON
UnmarshalJSON inflates the Response from []byte representing JSON.
response.go:105
Functionmain
()
cmd/httplab/main.go:78
FunctiononClosePopup
(ui *UI)
ui/bindings.go:160
FunctiononNextRequest
(ui *UI)
ui/bindings.go:154
FunctiononNextView
(ui *UI)
ui/bindings.go:82
next →1–100 of 114, ranked by callers