MCPcopy Create free account

hub / github.com/Trae-AI/stream-to-river / functions

Functions1,348 in github.com/Trae-AI/stream-to-river

FunctionTestBuildSuccBaseResp
TestBuildSuccBaseResp tests the BuildSuccBaseResp function.
rpcservice/biz/words/common/common_test.go:23
FunctionTestCleanupWord
TestCleanupWord tests the cleanupWord function.
rpcservice/biz/words/word_test.go:134
FunctionTestConversation_Init
(t *testing.T)
rpcservice/biz/chat/history_test.go:14
FunctionTestGetChatPE
(t *testing.T)
rpcservice/biz/chat/chat_test.go:20
FunctionTestGetReviewWordList
TestGetReviewWordList tests the GetReviewWordList function.
rpcservice/biz/words/review_list_test.go:16
FunctionTestGetSupportedTags
(t *testing.T)
rpcservice/biz/words/word_tags_test.go:16
FunctionTestGetTodayReviewProgress
TestGetTodayReviewProgress tests the GetTodayReviewProgress function.
rpcservice/biz/words/review_progress_test.go:163
FunctionTestGetWordByID
TestGetWordByID tests the GetWordByID function.
rpcservice/biz/words/word_test.go:93
FunctionTestGetWordDetail
TestGetWordDetail tests the GetWordDetail function.
rpcservice/biz/words/word_test.go:47
FunctionTestGetWordListHandler
TestGetWordListHandler tests the GetWordListHandler function.
rpcservice/biz/words/word_list_test.go:16
FunctionTestHighlight
(t *testing.T)
rpcservice/biz/chat/highlight_test.go:23
FunctionTestHighlightWithMsgAggregation
(t *testing.T)
rpcservice/biz/chat/highlight_test.go:71
FunctionTestInitWithConfig
(t *testing.T)
apiservice/biz/config/loadconfig_test.go:10
FunctionTestIsInRefusedString
(t *testing.T)
rpcservice/utils/refuse_test.go:8
FunctionTestLoadConfig
(t *testing.T)
rpcservice/biz/config/loadconfig_test.go:18
FunctionTestMain
(m *testing.M)
rpcservice/biz/words/word_test.go:24
FunctionTestModel2Word
TestModel2Word tests the model2Word function.
rpcservice/biz/words/word_test.go:115
FunctionTestQueryWord
(t *testing.T)
rpcservice/biz/words/vocapi/voc_api_test.go:14
FunctionTestReviewProgressCountCorrectness
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
FunctionTestSubmitAnswer
(t *testing.T)
rpcservice/biz/words/submit_answer_test.go:15
FunctionTestUpdateWordTagID
(t *testing.T)
rpcservice/biz/words/word_tags_test.go:36
FunctionTestUpdateWordTagID
(t *testing.T)
rpcservice/dal/dao/word_test.go:80
FunctionTestWordDBOperation
(t *testing.T)
rpcservice/dal/dao/word_test.go:14
FunctionTestWordOperationWithMockDB
(t *testing.T)
rpcservice/dal/dao/word_test.go:40
FunctionTyping
({ hasHistoryMessage, isGenerating, send, cancel, setInputBarStatus, switchToCamera, }: { hasHis
client/src/components/input-bar/index.tsx:91
FunctionUpdateWordTag
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
FunctionUpdateWordTagID
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
MethodUpdateWordTagID
UpdateWordTagID implements the WordServiceImpl interface. It calls the UpdateWordTagID function in the biz_words package to handle requests for updati
rpcservice/handler.go:161
MethodUpdateWordTagID
(ctx context.Context, req *words.UpdateWordTag)
rpcservice/kitex_gen/words/wordservice/wordservice.go:379
MethodUpdateWordTagID
(ctx context.Context, req *words.UpdateWordTag, callOptions ...callopt.Option)
rpcservice/kitex_gen/words/wordservice/client.go:87
FunctionUserMessage
({ message, type, }: { message: string; type: "text" | "image"; })
client/src/components/user-message/index.tsx:7
FunctionVocabularyReviewComponent
({ visible, onClose })
client/src/components/vocabulary-review/index.tsx:26
FunctionVoiceWave
()
client/src/components/input-bar/voice-wave.tsx:8
FunctionWelcomeTips
()
client/src/components/welcome-tips/index.tsx:7
FunctionWordCard
({ word })
client/src/components/word-card/index.tsx:56
FunctionWordDetailHandler
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
FunctionWordListPage
()
client/src/pages/words_list/index.tsx:10
FunctionWordPronounceComp
({ word, })
client/src/components/word-pronunce/index.tsx:43
FunctionWordStudyPage
()
client/src/pages/words_study/index.tsx:16
FunctionWordsHandler
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
FunctionaddCopyButton
(codeBlock)
apiservice/resource/repome/scripts.js:1628
FunctionaddNewWordHandler
(ctx context.Context, handler interface{}, arg, result interface{})
rpcservice/kitex_gen/words/wordservice/wordservice.go:198
FunctionaddZoomFunctionality
(wrapper)
apiservice/resource/repome/scripts.js:1109
Functionanimate
(currentTime: number)
client/src/components/progress-gauge/index.tsx:56
FunctionanimateScroll
(currentTime)
apiservice/resource/repome/scripts.js:1804
Functionanimation
(currentTime)
apiservice/resource/repome/scripts.js:56
FunctionapplyTheme
(theme)
apiservice/resource/repome/scripts.js:716
FunctionchatHandler
(ctx context.Context, handler interface{}, arg, result interface{})
rpcservice/kitex_gen/words/wordservice/wordservice.go:120
Methodconstructor
()
client/src/service/tag-service.ts:16
Methodconstructor
()
client/src/service/asr-service.ts:34
Methodconstructor
()
client/src/service/word-service.ts:24
Methodconstructor
()
client/src/service/auth-service.ts:33
Methodconstructor
()
client/src/service/server-config.ts:14
Methodconstructor
()
client/src/service/review-service.ts:55
Methodconstructor
()
client/src/service/image2text-service.ts:9
FunctiondetectLanguage
(content)
apiservice/resource/repome/scripts.js:1384
FunctionescapeHtml
(text)
apiservice/resource/repome/scripts.js:1437
FunctionextractStyleExamples
(htmlString: string)
client/src/components/word-card/utils.ts:4
FunctiongetBase64FromUrl
(url: string)
client/src/components/input-bar/utils.ts:31
FunctiongetCurrentTheme
()
apiservice/resource/repome/scripts.js:764
MethodgetInstance
()
client/src/service/server-config.ts:18
MethodgetInstance
()
client/src/libs/audio-manager.ts:10
FunctiongetMermaidTheme
(theme)
apiservice/resource/repome/scripts.js:906
FunctiongetReviewWordListHandler
(ctx context.Context, handler interface{}, arg, result interface{})
rpcservice/kitex_gen/words/wordservice/wordservice.go:236
FunctiongetSavedTheme
()
apiservice/resource/repome/scripts.js:703
FunctiongetSupportedTagsHandler
(ctx context.Context, handler interface{}, arg, result interface{})
rpcservice/kitex_gen/words/wordservice/wordservice.go:293
FunctiongetSystemTheme
()
apiservice/resource/repome/scripts.js:708
FunctiongetThemeVariables
(theme)
apiservice/resource/repome/scripts.js:911
FunctiongetTodayReviewProgressHandler
(ctx context.Context, handler interface{}, arg, result interface{})
rpcservice/kitex_gen/words/wordservice/wordservice.go:255
FunctiongetWordByIDHandler
(ctx context.Context, handler interface{}, arg, result interface{})
rpcservice/kitex_gen/words/wordservice/wordservice.go:179
FunctiongetWordDetailHandler
(ctx context.Context, handler interface{}, arg, result interface{})
rpcservice/kitex_gen/words/wordservice/wordservice.go:160
FunctiongetWordListHandler
(ctx context.Context, handler interface{}, arg, result interface{})
rpcservice/kitex_gen/words/wordservice/wordservice.go:141
FunctionhandleAddWord
()
client/src/pages/study_main/index.tsx:188
FunctionhandleCancel
()
client/src/components/input-bar/index.tsx:135
FunctionhandleCheckAnswer
()
client/src/components/vocabulary-review/index.tsx:48
FunctionhandleEsc
(e)
apiservice/resource/repome/scripts.js:1149
FunctionhandleHideComponent
()
client/src/pages/study_main/index.tsx:151
FunctionhandleLogin
()
client/src/pages/study_main/index.tsx:193
FunctionhandleLogout
()
client/src/components/logout-popup/index.tsx:20
FunctionhandleMaskClick
()
client/src/components/word-tips/index.tsx:125
FunctionhandlePlaySound
(pronounceUrl: string)
client/src/components/word-pronunce/index.tsx:60
FunctionhandleScroll
(e)
client/src/pages/study_main/index.tsx:172
FunctionhandleScroll
()
apiservice/resource/repome/scripts.js:204
FunctionhandleSend
()
client/src/components/input-bar/index.tsx:118
FunctionhandleStartReview
()
client/src/pages/study_main/index.tsx:197
FunctionhandleSubmit
()
client/src/components/login-form/index.tsx:56
FunctionhandleTouchEnd
(e: ITouchEvent)
client/src/components/input-bar/index.tsx:281
FunctionhandleTouchMove
(e: ITouchEvent)
client/src/components/input-bar/index.tsx:268
FunctionhandleTouchStart
(e: ITouchEvent)
client/src/components/input-bar/index.tsx:244
FunctionhideButton
()
apiservice/resource/repome/scripts.js:1783
FunctionhighlightAllCodeBlocks
()
apiservice/resource/repome/scripts.js:1265
FunctionhighlightBash
(codeBlock)
apiservice/resource/repome/scripts.js:1545
FunctionhighlightCodeBlock
(codeBlock, index)
apiservice/resource/repome/scripts.js:1301
FunctionhighlightCurl
(codeBlock)
apiservice/resource/repome/scripts.js:1563
FunctionhighlightGeneric
(codeBlock)
apiservice/resource/repome/scripts.js:1621
FunctionhighlightGo
(codeBlock)
apiservice/resource/repome/scripts.js:1507
FunctionhighlightJSON
(codeBlock)
apiservice/resource/repome/scripts.js:1444
FunctionhighlightJavaScript
(codeBlock)
apiservice/resource/repome/scripts.js:1488
FunctionhighlightProtobuf
(codeBlock)
apiservice/resource/repome/scripts.js:1583
FunctionhighlightPython
(codeBlock)
apiservice/resource/repome/scripts.js:1527
← previousnext →1,201–1,300 of 1,348, ranked by callers