Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1buran/rHttp
/ functions
Functions
107 in github.com/1buran/rHttp
⨍
Functions
107
◇
Types & classes
20
↓ 34 callers
Method
Color
Color of item, write to stderr a message if requested color is not found in theme.
config.go:52
↓ 21 callers
Method
Value
()
fileinput.go:61
↓ 13 callers
Method
Error
Error message.
statusbar.go:130
↓ 11 callers
Method
Info
Info message.
statusbar.go:120
↓ 11 callers
Method
Reset
()
fileinput.go:65
↓ 9 callers
Method
focusPrompt
Focus prompt.
main.go:258
↓ 7 callers
Method
blurAllPrompts
Blur all prompts.
main.go:228
↓ 7 callers
Function
checkboxIndex
(i int)
main.go:125
↓ 7 callers
Function
fileinputIndex
(i int)
main.go:117
↓ 6 callers
Method
Focus
()
fileinput.go:57
↓ 6 callers
Method
Hide
()
fileinput.go:48
↓ 6 callers
Function
NewSession
Create a new session.
session.go:37
↓ 4 callers
Method
Emoji
Emoji of item, write to stderr a message if requested emoji is not found in theme.
config.go:63
↓ 3 callers
Method
Blur
()
fileinput.go:69
↓ 3 callers
Method
Close
()
session_test.go:23
↓ 3 callers
Method
GetResTime
Get last response time.
statusbar.go:145
↓ 3 callers
Function
NewFileInput
(id, mode int, title, placeholder string, colors ...lipgloss.Color)
fileinput.go:77
↓ 3 callers
Method
OpenFile
()
fileinput.go:26
↓ 3 callers
Method
SetOn
()
checkbox.go:50
↓ 3 callers
Method
SetVisible
()
fileinput.go:44
↓ 3 callers
Method
Warning
Warning message.
statusbar.go:125
↓ 3 callers
Method
blurPrompt
Blur prompt.
main.go:241
↓ 3 callers
Method
setStatus
Set status.
statusbar.go:113
↓ 2 callers
Method
AddWarn
Add error.
config.go:47
↓ 2 callers
Method
Contains
(b []byte)
session_test.go:27
↓ 2 callers
Method
GetReqCount
Get count of requests.
statusbar.go:140
↓ 2 callers
Method
IsOn
()
checkbox.go:46
↓ 2 callers
Method
Load
Load the session.
session.go:88
↓ 2 callers
Function
NewCheckbox
( id int, titleText, onText, offText string, titleStyle, onStyle, offStyle lipgloss.Style)
checkbox.go:28
↓ 2 callers
Function
NewMessageWithTimer
New message with timer.
main.go:745
↓ 2 callers
Method
Save
Save the session.
session.go:68
↓ 2 callers
Function
StatusBarDoTick
()
statusbar.go:44
↓ 2 callers
Method
Write
(p []byte)
session_test.go:19
↓ 2 callers
Method
checkboxHandler
Forward message to [Checkbox] handler.
main.go:755
↓ 2 callers
Method
clearRespArtefacts
Clear response artefacts.
main.go:316
↓ 2 callers
Function
headersPrintf
(h http.Header)
main.go:182
↓ 2 callers
Function
loadJSON
(path string, c *Config)
config.go:106
↓ 2 callers
Function
newReqest
()
main.go:133
↓ 2 callers
Method
nextInput
nextInput focuses the next input field
main.go:277
↓ 1 callers
Method
FormatStatusBar
Format status bar.
statusbar.go:212
↓ 1 callers
Method
IncReqCount
Increment count of requests.
statusbar.go:135
↓ 1 callers
Method
IsVisible
()
fileinput.go:53
↓ 1 callers
Function
NewKeyStroke
Create new instance of [KeyStroke].
keys.go:104
↓ 1 callers
Function
NewKeyValInputs
(n int)
main.go:543
↓ 1 callers
Function
NewStatusBar
(conf *Config)
statusbar.go:227
↓ 1 callers
Function
PrintDefaultConfig
Print default config.
config.go:139
↓ 1 callers
Function
ReadConfig
Read config.
config.go:120
↓ 1 callers
Method
SetOff
()
checkbox.go:54
↓ 1 callers
Method
SetReqCount
Set count of requests.
statusbar.go:167
↓ 1 callers
Method
SetResProto
Set last response proto.
statusbar.go:160
↓ 1 callers
Method
SetResStatusCode
Set last response status code.
statusbar.go:155
↓ 1 callers
Method
SetResTime
Set last response time.
statusbar.go:150
↓ 1 callers
Method
SetScreenWidth
Set screen width.
statusbar.go:172
↓ 1 callers
Method
Update
(msg tea.Msg)
main.go:838
↓ 1 callers
Method
applyTimeChanges
Apply time changes.
statusbar.go:60
↓ 1 callers
Function
autoFormatJSON
(s string)
main.go:687
↓ 1 callers
Function
correctHeader
(i *textinput.Model)
main.go:171
↓ 1 callers
Method
delReqCookie
()
main.go:385
↓ 1 callers
Method
delReqForm
()
main.go:418
↓ 1 callers
Method
delReqHeader
()
main.go:332
↓ 1 callers
Method
delReqParam
()
main.go:357
↓ 1 callers
Method
elapsedTime
Elapsed time from start of timer.
main.go:750
↓ 1 callers
Function
formatRespBody
(ct, s string, autoformat bool)
main.go:693
↓ 1 callers
Method
getRespPageLines
Get page of response.
main.go:323
↓ 1 callers
Method
getStatusBadge
Get status badge.
statusbar.go:177
↓ 1 callers
Method
getStatusText
Get status message.
statusbar.go:98
↓ 1 callers
Method
getText
Get part of creeping text.
statusbar.go:65
↓ 1 callers
Function
initialModel
(conf *Config)
main.go:568
↓ 1 callers
Function
loadDefaultSettings
Load default settings.
config.go:74
↓ 1 callers
Function
loadOverrideSettings
(path string, c *Config)
config.go:94
↓ 1 callers
Function
loadPayload
Load payload.
main.go:822
↓ 1 callers
Function
loadSession
Load session: create and populate request and response from the given file.
main.go:763
↓ 1 callers
Function
loadUserSettings
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 callers
Function
matchContentTypeTolexer
Match lexer against given content type of http response.
main.go:675
↓ 1 callers
Function
prepareRequest
Prepare request before send. TODO consider refactoring/remove all this function to avoid using of global variables
main.go:140
↓ 1 callers
Method
prevInput
prevInput focuses the previous input field
main.go:293
↓ 1 callers
Method
protoIndicator
Get status logo indicator.
statusbar.go:195
↓ 1 callers
Method
reqIsExecuted
Request is executed.
main.go:311
↓ 1 callers
Method
restoreReqMethod
()
main.go:480
↓ 1 callers
Function
sendRequest
(r *http.Request, p int)
main.go:164
↓ 1 callers
Method
setHttps
(b bool)
main.go:485
↓ 1 callers
Method
setReqCookie
()
main.go:398
↓ 1 callers
Method
setReqForm
()
main.go:429
↓ 1 callers
Method
setReqHeader
()
main.go:339
↓ 1 callers
Method
setReqHost
()
main.go:474
↓ 1 callers
Method
setReqJsonPayload
()
main.go:495
↓ 1 callers
Method
setReqMethod
()
main.go:454
↓ 1 callers
Method
setReqParam
()
main.go:366
↓ 1 callers
Method
setReqUrlPath
()
main.go:469
Method
FullHelp
()
keys.go:18
Method
HasWarnings
()
config.go:38
Method
Init
()
main.go:662
Method
SetTitle
(s string)
fileinput.go:40
Method
ShortHelp
()
keys.go:15
Function
TestSession
(t *testing.T)
session_test.go:31
Method
Update
(msg tea.Msg)
statusbar.go:50
Method
Update
(msg tea.Msg)
fileinput.go:102
Method
Update
(msg tea.Msg)
checkbox.go:58
Method
View
()
fileinput.go:73
Method
View
()
checkbox.go:38
next →
1–100 of 107, ranked by callers