Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Trae-AI/stream-to-river
/ functions
Functions
1,348 in github.com/Trae-AI/stream-to-river
⨍
Functions
1,348
◇
Types & classes
173
Function
TestBuildSuccBaseResp
TestBuildSuccBaseResp tests the BuildSuccBaseResp function.
rpcservice/biz/words/common/common_test.go:23
Function
TestCleanupWord
TestCleanupWord tests the cleanupWord function.
rpcservice/biz/words/word_test.go:134
Function
TestConversation_Init
(t *testing.T)
rpcservice/biz/chat/history_test.go:14
Function
TestGetChatPE
(t *testing.T)
rpcservice/biz/chat/chat_test.go:20
Function
TestGetReviewWordList
TestGetReviewWordList tests the GetReviewWordList function.
rpcservice/biz/words/review_list_test.go:16
Function
TestGetSupportedTags
(t *testing.T)
rpcservice/biz/words/word_tags_test.go:16
Function
TestGetTodayReviewProgress
TestGetTodayReviewProgress tests the GetTodayReviewProgress function.
rpcservice/biz/words/review_progress_test.go:163
Function
TestGetWordByID
TestGetWordByID tests the GetWordByID function.
rpcservice/biz/words/word_test.go:93
Function
TestGetWordDetail
TestGetWordDetail tests the GetWordDetail function.
rpcservice/biz/words/word_test.go:47
Function
TestGetWordListHandler
TestGetWordListHandler tests the GetWordListHandler function.
rpcservice/biz/words/word_list_test.go:16
Function
TestHighlight
(t *testing.T)
rpcservice/biz/chat/highlight_test.go:23
Function
TestHighlightWithMsgAggregation
(t *testing.T)
rpcservice/biz/chat/highlight_test.go:71
Function
TestInitWithConfig
(t *testing.T)
apiservice/biz/config/loadconfig_test.go:10
Function
TestIsInRefusedString
(t *testing.T)
rpcservice/utils/refuse_test.go:8
Function
TestLoadConfig
(t *testing.T)
rpcservice/biz/config/loadconfig_test.go:18
Function
TestMain
(m *testing.M)
rpcservice/biz/words/word_test.go:24
Function
TestModel2Word
TestModel2Word tests the model2Word function.
rpcservice/biz/words/word_test.go:115
Function
TestQueryWord
(t *testing.T)
rpcservice/biz/words/vocapi/voc_api_test.go:14
Function
TestReviewProgressCountCorrectness
TestReviewProgressCountCorrectness tests the correctness of the review progress count. Verifies that the pending_review_count will not be double-count
rpcservice/biz/words/review_progress_test.go:18
Function
TestSubmitAnswer
(t *testing.T)
rpcservice/biz/words/submit_answer_test.go:15
Function
TestUpdateWordTagID
(t *testing.T)
rpcservice/biz/words/word_tags_test.go:36
Function
TestUpdateWordTagID
(t *testing.T)
rpcservice/dal/dao/word_test.go:80
Function
TestWordDBOperation
(t *testing.T)
rpcservice/dal/dao/word_test.go:14
Function
TestWordOperationWithMockDB
(t *testing.T)
rpcservice/dal/dao/word_test.go:40
Function
Typing
({ hasHistoryMessage, isGenerating, send, cancel, setInputBarStatus, switchToCamera, }: { hasHis
client/src/components/input-bar/index.tsx:91
Function
UpdateWordTag
UpdateWordTag updates a word tag record in the `word_tag` table. Parameters: - tag: A pointer to the `model.WordTag` struct representing the word tag
rpcservice/dal/dao/words_tag.go:95
Function
UpdateWordTagID
UpdateWordTagID handles HTTP POST requests to update the tag of a word. It is registered at the `/api/word-tag` endpoint. The function first retrieves
apiservice/biz/handler/words/word_tags.go:50
Method
UpdateWordTagID
UpdateWordTagID implements the WordServiceImpl interface. It calls the UpdateWordTagID function in the biz_words package to handle requests for updati
rpcservice/handler.go:161
Method
UpdateWordTagID
(ctx context.Context, req *words.UpdateWordTag)
rpcservice/kitex_gen/words/wordservice/wordservice.go:379
Method
UpdateWordTagID
(ctx context.Context, req *words.UpdateWordTag, callOptions ...callopt.Option)
rpcservice/kitex_gen/words/wordservice/client.go:87
Function
UserMessage
({ message, type, }: { message: string; type: "text" | "image"; })
client/src/components/user-message/index.tsx:7
Function
VocabularyReviewComponent
({ visible, onClose })
client/src/components/vocabulary-review/index.tsx:26
Function
VoiceWave
()
client/src/components/input-bar/voice-wave.tsx:8
Function
WelcomeTips
()
client/src/components/welcome-tips/index.tsx:7
Function
WordCard
({ word })
client/src/components/word-card/index.tsx:56
Function
WordDetailHandler
WordDetailHandler handles HTTP GET requests to retrieve word details. It is registered at the `/api/word-detail` endpoint. The function first cleans
apiservice/biz/handler/words/word.go:84
Function
WordListPage
()
client/src/pages/words_list/index.tsx:10
Function
WordPronounceComp
({ word, })
client/src/components/word-pronunce/index.tsx:43
Function
WordStudyPage
()
client/src/pages/words_study/index.tsx:16
Function
WordsHandler
WordsHandler handles HTTP GET requests to retrieve a list of words. It is registered at the `/api/word-list` endpoint. This function first extracts th
apiservice/biz/handler/words/word_list.go:26
Function
addCopyButton
(codeBlock)
apiservice/resource/repome/scripts.js:1628
Function
addNewWordHandler
(ctx context.Context, handler interface{}, arg, result interface{})
rpcservice/kitex_gen/words/wordservice/wordservice.go:198
Function
addZoomFunctionality
(wrapper)
apiservice/resource/repome/scripts.js:1109
Function
animate
(currentTime: number)
client/src/components/progress-gauge/index.tsx:56
Function
animateScroll
(currentTime)
apiservice/resource/repome/scripts.js:1804
Function
animation
(currentTime)
apiservice/resource/repome/scripts.js:56
Function
applyTheme
(theme)
apiservice/resource/repome/scripts.js:716
Function
chatHandler
(ctx context.Context, handler interface{}, arg, result interface{})
rpcservice/kitex_gen/words/wordservice/wordservice.go:120
Method
constructor
()
client/src/service/tag-service.ts:16
Method
constructor
()
client/src/service/asr-service.ts:34
Method
constructor
()
client/src/service/word-service.ts:24
Method
constructor
()
client/src/service/auth-service.ts:33
Method
constructor
()
client/src/service/server-config.ts:14
Method
constructor
()
client/src/service/review-service.ts:55
Method
constructor
()
client/src/service/image2text-service.ts:9
Function
detectLanguage
(content)
apiservice/resource/repome/scripts.js:1384
Function
escapeHtml
(text)
apiservice/resource/repome/scripts.js:1437
Function
extractStyleExamples
(htmlString: string)
client/src/components/word-card/utils.ts:4
Function
getBase64FromUrl
(url: string)
client/src/components/input-bar/utils.ts:31
Function
getCurrentTheme
()
apiservice/resource/repome/scripts.js:764
Method
getInstance
()
client/src/service/server-config.ts:18
Method
getInstance
()
client/src/libs/audio-manager.ts:10
Function
getMermaidTheme
(theme)
apiservice/resource/repome/scripts.js:906
Function
getReviewWordListHandler
(ctx context.Context, handler interface{}, arg, result interface{})
rpcservice/kitex_gen/words/wordservice/wordservice.go:236
Function
getSavedTheme
()
apiservice/resource/repome/scripts.js:703
Function
getSupportedTagsHandler
(ctx context.Context, handler interface{}, arg, result interface{})
rpcservice/kitex_gen/words/wordservice/wordservice.go:293
Function
getSystemTheme
()
apiservice/resource/repome/scripts.js:708
Function
getThemeVariables
(theme)
apiservice/resource/repome/scripts.js:911
Function
getTodayReviewProgressHandler
(ctx context.Context, handler interface{}, arg, result interface{})
rpcservice/kitex_gen/words/wordservice/wordservice.go:255
Function
getWordByIDHandler
(ctx context.Context, handler interface{}, arg, result interface{})
rpcservice/kitex_gen/words/wordservice/wordservice.go:179
Function
getWordDetailHandler
(ctx context.Context, handler interface{}, arg, result interface{})
rpcservice/kitex_gen/words/wordservice/wordservice.go:160
Function
getWordListHandler
(ctx context.Context, handler interface{}, arg, result interface{})
rpcservice/kitex_gen/words/wordservice/wordservice.go:141
Function
handleAddWord
()
client/src/pages/study_main/index.tsx:188
Function
handleCancel
()
client/src/components/input-bar/index.tsx:135
Function
handleCheckAnswer
()
client/src/components/vocabulary-review/index.tsx:48
Function
handleEsc
(e)
apiservice/resource/repome/scripts.js:1149
Function
handleHideComponent
()
client/src/pages/study_main/index.tsx:151
Function
handleLogin
()
client/src/pages/study_main/index.tsx:193
Function
handleLogout
()
client/src/components/logout-popup/index.tsx:20
Function
handleMaskClick
()
client/src/components/word-tips/index.tsx:125
Function
handlePlaySound
(pronounceUrl: string)
client/src/components/word-pronunce/index.tsx:60
Function
handleScroll
(e)
client/src/pages/study_main/index.tsx:172
Function
handleScroll
()
apiservice/resource/repome/scripts.js:204
Function
handleSend
()
client/src/components/input-bar/index.tsx:118
Function
handleStartReview
()
client/src/pages/study_main/index.tsx:197
Function
handleSubmit
()
client/src/components/login-form/index.tsx:56
Function
handleTouchEnd
(e: ITouchEvent)
client/src/components/input-bar/index.tsx:281
Function
handleTouchMove
(e: ITouchEvent)
client/src/components/input-bar/index.tsx:268
Function
handleTouchStart
(e: ITouchEvent)
client/src/components/input-bar/index.tsx:244
Function
hideButton
()
apiservice/resource/repome/scripts.js:1783
Function
highlightAllCodeBlocks
()
apiservice/resource/repome/scripts.js:1265
Function
highlightBash
(codeBlock)
apiservice/resource/repome/scripts.js:1545
Function
highlightCodeBlock
(codeBlock, index)
apiservice/resource/repome/scripts.js:1301
Function
highlightCurl
(codeBlock)
apiservice/resource/repome/scripts.js:1563
Function
highlightGeneric
(codeBlock)
apiservice/resource/repome/scripts.js:1621
Function
highlightGo
(codeBlock)
apiservice/resource/repome/scripts.js:1507
Function
highlightJSON
(codeBlock)
apiservice/resource/repome/scripts.js:1444
Function
highlightJavaScript
(codeBlock)
apiservice/resource/repome/scripts.js:1488
Function
highlightProtobuf
(codeBlock)
apiservice/resource/repome/scripts.js:1583
Function
highlightPython
(codeBlock)
apiservice/resource/repome/scripts.js:1527
← previous
next →
1,201–1,300 of 1,348, ranked by callers