MCPcopy Create free account

hub / github.com/1buran/rHttp / functions

Functions107 in github.com/1buran/rHttp

↓ 34 callersMethodColor
Color of item, write to stderr a message if requested color is not found in theme.
config.go:52
↓ 21 callersMethodValue
()
fileinput.go:61
↓ 13 callersMethodError
Error message.
statusbar.go:130
↓ 11 callersMethodInfo
Info message.
statusbar.go:120
↓ 11 callersMethodReset
()
fileinput.go:65
↓ 9 callersMethodfocusPrompt
Focus prompt.
main.go:258
↓ 7 callersMethodblurAllPrompts
Blur all prompts.
main.go:228
↓ 7 callersFunctioncheckboxIndex
(i int)
main.go:125
↓ 7 callersFunctionfileinputIndex
(i int)
main.go:117
↓ 6 callersMethodFocus
()
fileinput.go:57
↓ 6 callersMethodHide
()
fileinput.go:48
↓ 6 callersFunctionNewSession
Create a new session.
session.go:37
↓ 4 callersMethodEmoji
Emoji of item, write to stderr a message if requested emoji is not found in theme.
config.go:63
↓ 3 callersMethodBlur
()
fileinput.go:69
↓ 3 callersMethodClose
()
session_test.go:23
↓ 3 callersMethodGetResTime
Get last response time.
statusbar.go:145
↓ 3 callersFunctionNewFileInput
(id, mode int, title, placeholder string, colors ...lipgloss.Color)
fileinput.go:77
↓ 3 callersMethodOpenFile
()
fileinput.go:26
↓ 3 callersMethodSetOn
()
checkbox.go:50
↓ 3 callersMethodSetVisible
()
fileinput.go:44
↓ 3 callersMethodWarning
Warning message.
statusbar.go:125
↓ 3 callersMethodblurPrompt
Blur prompt.
main.go:241
↓ 3 callersMethodsetStatus
Set status.
statusbar.go:113
↓ 2 callersMethodAddWarn
Add error.
config.go:47
↓ 2 callersMethodContains
(b []byte)
session_test.go:27
↓ 2 callersMethodGetReqCount
Get count of requests.
statusbar.go:140
↓ 2 callersMethodIsOn
()
checkbox.go:46
↓ 2 callersMethodLoad
Load the session.
session.go:88
↓ 2 callersFunctionNewCheckbox
( id int, titleText, onText, offText string, titleStyle, onStyle, offStyle lipgloss.Style)
checkbox.go:28
↓ 2 callersFunctionNewMessageWithTimer
New message with timer.
main.go:745
↓ 2 callersMethodSave
Save the session.
session.go:68
↓ 2 callersFunctionStatusBarDoTick
()
statusbar.go:44
↓ 2 callersMethodWrite
(p []byte)
session_test.go:19
↓ 2 callersMethodcheckboxHandler
Forward message to [Checkbox] handler.
main.go:755
↓ 2 callersMethodclearRespArtefacts
Clear response artefacts.
main.go:316
↓ 2 callersFunctionheadersPrintf
(h http.Header)
main.go:182
↓ 2 callersFunctionloadJSON
(path string, c *Config)
config.go:106
↓ 2 callersFunctionnewReqest
()
main.go:133
↓ 2 callersMethodnextInput
nextInput focuses the next input field
main.go:277
↓ 1 callersMethodFormatStatusBar
Format status bar.
statusbar.go:212
↓ 1 callersMethodIncReqCount
Increment count of requests.
statusbar.go:135
↓ 1 callersMethodIsVisible
()
fileinput.go:53
↓ 1 callersFunctionNewKeyStroke
Create new instance of [KeyStroke].
keys.go:104
↓ 1 callersFunctionNewKeyValInputs
(n int)
main.go:543
↓ 1 callersFunctionNewStatusBar
(conf *Config)
statusbar.go:227
↓ 1 callersFunctionPrintDefaultConfig
Print default config.
config.go:139
↓ 1 callersFunctionReadConfig
Read config.
config.go:120
↓ 1 callersMethodSetOff
()
checkbox.go:54
↓ 1 callersMethodSetReqCount
Set count of requests.
statusbar.go:167
↓ 1 callersMethodSetResProto
Set last response proto.
statusbar.go:160
↓ 1 callersMethodSetResStatusCode
Set last response status code.
statusbar.go:155
↓ 1 callersMethodSetResTime
Set last response time.
statusbar.go:150
↓ 1 callersMethodSetScreenWidth
Set screen width.
statusbar.go:172
↓ 1 callersMethodUpdate
(msg tea.Msg)
main.go:838
↓ 1 callersMethodapplyTimeChanges
Apply time changes.
statusbar.go:60
↓ 1 callersFunctionautoFormatJSON
(s string)
main.go:687
↓ 1 callersFunctioncorrectHeader
(i *textinput.Model)
main.go:171
↓ 1 callersMethoddelReqCookie
()
main.go:385
↓ 1 callersMethoddelReqForm
()
main.go:418
↓ 1 callersMethoddelReqHeader
()
main.go:332
↓ 1 callersMethoddelReqParam
()
main.go:357
↓ 1 callersMethodelapsedTime
Elapsed time from start of timer.
main.go:750
↓ 1 callersFunctionformatRespBody
(ct, s string, autoformat bool)
main.go:693
↓ 1 callersMethodgetRespPageLines
Get page of response.
main.go:323
↓ 1 callersMethodgetStatusBadge
Get status badge.
statusbar.go:177
↓ 1 callersMethodgetStatusText
Get status message.
statusbar.go:98
↓ 1 callersMethodgetText
Get part of creeping text.
statusbar.go:65
↓ 1 callersFunctioninitialModel
(conf *Config)
main.go:568
↓ 1 callersFunctionloadDefaultSettings
Load default settings.
config.go:74
↓ 1 callersFunctionloadOverrideSettings
(path string, c *Config)
config.go:94
↓ 1 callersFunctionloadPayload
Load payload.
main.go:822
↓ 1 callersFunctionloadSession
Load session: create and populate request and response from the given file.
main.go:763
↓ 1 callersFunctionloadUserSettings
Load user settings. todo make it is more robust, do not silent errors from the one side and todo do not make a lot of noise / spam from the other...
config.go:81
↓ 1 callersFunctionmatchContentTypeTolexer
Match lexer against given content type of http response.
main.go:675
↓ 1 callersFunctionprepareRequest
Prepare request before send. TODO consider refactoring/remove all this function to avoid using of global variables
main.go:140
↓ 1 callersMethodprevInput
prevInput focuses the previous input field
main.go:293
↓ 1 callersMethodprotoIndicator
Get status logo indicator.
statusbar.go:195
↓ 1 callersMethodreqIsExecuted
Request is executed.
main.go:311
↓ 1 callersMethodrestoreReqMethod
()
main.go:480
↓ 1 callersFunctionsendRequest
(r *http.Request, p int)
main.go:164
↓ 1 callersMethodsetHttps
(b bool)
main.go:485
↓ 1 callersMethodsetReqCookie
()
main.go:398
↓ 1 callersMethodsetReqForm
()
main.go:429
↓ 1 callersMethodsetReqHeader
()
main.go:339
↓ 1 callersMethodsetReqHost
()
main.go:474
↓ 1 callersMethodsetReqJsonPayload
()
main.go:495
↓ 1 callersMethodsetReqMethod
()
main.go:454
↓ 1 callersMethodsetReqParam
()
main.go:366
↓ 1 callersMethodsetReqUrlPath
()
main.go:469
MethodFullHelp
()
keys.go:18
MethodHasWarnings
()
config.go:38
MethodInit
()
main.go:662
MethodSetTitle
(s string)
fileinput.go:40
MethodShortHelp
()
keys.go:15
FunctionTestSession
(t *testing.T)
session_test.go:31
MethodUpdate
(msg tea.Msg)
statusbar.go:50
MethodUpdate
(msg tea.Msg)
fileinput.go:102
MethodUpdate
(msg tea.Msg)
checkbox.go:58
MethodView
()
fileinput.go:73
MethodView
()
checkbox.go:38
next →1–100 of 107, ranked by callers