MCPcopy Create free account

hub / github.com/PGshen/thinking-map / functions

Functions1,120 in github.com/PGshen/thinking-map

MethodFindByParentID
(ctx context.Context, parentID string)
server/internal/repository/thinking_node.go:93
MethodFindByParentID
(ctx context.Context, parentID string)
server/internal/repository/message.go:52
MethodFindByParentID
(ctx context.Context, parentID string)
server/internal/repository/interfaces.go:48
MethodFindByUsername
(ctx context.Context, username string)
server/internal/repository/interfaces.go:26
MethodFindByUsername
(ctx context.Context, username string)
server/internal/repository/user.go:50
FunctionFormatDate
FormatDate 格式化日期为字符串
server/internal/pkg/utils/time.go:24
FunctionFormatTime
FormatTime 格式化时间为字符串
server/internal/pkg/utils/time.go:19
FunctionFormatTimeWithMilli
FormatTimeWithMilli 格式化时间为带毫秒的字符串
server/internal/pkg/utils/time.go:34
FunctionFormatTimeWithZone
FormatTimeWithZone 格式化时间为带时区的字符串
server/internal/pkg/utils/time.go:29
FunctionGenerateToken
GenerateToken 生成随机令牌
server/internal/pkg/utils/crypto.go:47
FunctionGenerateToken
GenerateToken 生成 JWT token
server/internal/pkg/jwt/jwt.go:24
FunctionGetAllToolInfos
genToolInfos generates tool information from tools config
server/internal/agent/tool/search/tavily.go:422
FunctionGetAllToolInfos
genToolInfos generates tool information from tools config
server/internal/agent/tool/node/operator.go:541
FunctionGetBroker
GetBroker 获取全局broker实例
server/internal/global/broker.go:30
MethodGetClients
GetClients 获取会话中的所有客户端元数据
server/internal/pkg/sse/broker.go:180
FunctionGetComposeOptions
GetComposeOptions returns all compose options from the given agent options.
server/internal/agent/base/agent_option.go:14
MethodGetConnection
获取连接信息
server/internal/pkg/sse/connection.go:48
MethodGetConversationMessages
GetConversationMessages 获取会话中的所有消息
server/internal/global/message_manager.go:459
FunctionGetDefaultConfig
GetDefaultConfig returns a default configuration
server/internal/agent/base/multiagent/config.go:102
MethodGetDependencyChain
GetDependencyChain 获取节点的完整依赖链
server/internal/service/dependency_checker.go:126
FunctionGetEndOfMonth
GetEndOfMonth 获取一个月的结束时间
server/internal/pkg/utils/time.go:92
FunctionGetImplSpecificOptions
GetImplSpecificOptions returns the implementation-specific options from the given agent options.
server/internal/agent/base/agent_option.go:38
MethodGetLocalClient
GetLocalClient 获取本地客户端(实现LocalClientProvider接口)
server/internal/pkg/sse/broker.go:164
MethodGetLocalSessionClients
GetLocalSessionClients 获取会话中的本地客户端(实现LocalClientProvider接口)
server/internal/pkg/sse/broker.go:169
MethodGetMap
GetMap handles retrieving a specific mind map
server/internal/handler/map.go:103
MethodGetMetadata
(key string)
server/internal/agent/base/multiagent/state.go:182
MethodGetNode
(ctx context.Context, nodeID string)
server/internal/service/node.go:43
MethodGetNodeCount
GetNodeCount retrieves the number of nodes in a thinking map
server/internal/repository/thinking_map.go:92
MethodGetNodeMessages
GetNodeMessages 获取节点相关的消息
server/internal/global/message_manager.go:638
MethodGetNodeMessages
(c *gin.Context)
server/internal/handler/node.go:265
FunctionGetNodeOperator
GetNodeOperator 获取全局节点操作器实例
server/internal/global/node_operator.go:45
FunctionGetRAGRecordRepository
()
server/internal/global/rag_record.go:19
MethodGetResult
GetResult 获取解析结果
server/internal/pkg/utils/stream_json_parser.go:662
MethodGetRootNode
GetRootNode retrieves the root node of a thinking map
server/internal/repository/thinking_map.go:83
MethodGetServerConnections
获取服务器实例的所有连接
server/internal/pkg/sse/connection.go:52
MethodGetSessionConnections
GetSessionConnections 获取会话中的所有连接
server/internal/pkg/sse/connection.go:207
FunctionGetStartOfMonth
GetStartOfMonth 获取一个月的开始时间
server/internal/pkg/utils/time.go:87
MethodHandle
(c *gin.Context)
server/internal/handler/thinking/repeater.go:20
MethodHandle
(c *gin.Context)
server/internal/handler/thinking/decomposition.go:25
MethodHandle
(c *gin.Context)
server/internal/handler/thinking/conclusion.go:25
MethodHandle
(c *gin.Context)
server/internal/handler/thinking/understanding.go:21
FunctionHashPassword
HashPassword 使用 bcrypt 对密码进行哈希
server/internal/pkg/utils/crypto.go:12
FunctionHomePage
()
web/src/features/home/HomePage.tsx:34
FunctionHoverCard
({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Root>)
web/src/components/ui/hover-card.tsx:8
FunctionHoverCardContent
({ className, align = "center", sideOffset = 4, ...props }: React.ComponentProps<typeof HoverCardPrimi
web/src/components/ui/hover-card.tsx:22
FunctionHoverCardTrigger
({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Trigger>)
web/src/components/ui/hover-card.tsx:14
MethodIncrementRound
()
server/internal/agent/base/multiagent/state.go:81
FunctionInfo
Info 输出Info级别日志
server/internal/pkg/logger/zap.go:124
MethodInfo
(ctx context.Context)
server/internal/agent/base/react/compose_test.go:28
MethodInfo
(ctx context.Context)
server/internal/agent/base/react/compose_test.go:101
FunctionInfoSidebar
({ mapID, ...props }: React.ComponentProps<typeof Sidebar> & { mapID: string })
web/src/features/workspace/components/side-bar/side-bar.tsx:33
FunctionInfoTab
({ nodeID, nodeData }: InfoTabProps)
web/src/features/workspace/components/operation-panel/info-tab.tsx:28
FunctionInit
Init 初始化日志
server/internal/pkg/logger/zap.go:29
FunctionInitRAGRecordRepository
(repo repository.RAGRecord)
server/internal/global/rag_record.go:15
FunctionInput
({ className, type, ...props }: React.ComponentProps<"input">)
web/src/components/ui/input.tsx:5
MethodInvokableRun
(ctx context.Context, args string, opts ...tool.Option)
server/internal/agent/base/react/compose_test.go:43
MethodInvokableRun
(ctx context.Context, args string, opts ...tool.Option)
server/internal/agent/base/react/compose_test.go:85
MethodInvokableRun
(ctx context.Context, args string, opts ...tool.Option)
server/internal/agent/base/react/compose_test.go:116
FunctionIsThisMonth
IsThisMonth 判断是否是本月
server/internal/pkg/utils/time.go:111
FunctionIsThisWeek
IsThisWeek 判断是否是本周
server/internal/pkg/utils/time.go:103
FunctionIsToday
IsToday 判断是否是今天
server/internal/pkg/utils/time.go:97
FunctionLabel
({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>)
web/src/components/ui/label.tsx:8
MethodList
(ctx context.Context, offset, limit int)
server/internal/repository/thinking_node.go:102
MethodList
(ctx context.Context, offset, limit int)
server/internal/repository/message.go:61
MethodList
ListMaps retrieves a list of thinking maps with pagination
server/internal/repository/thinking_map.go:42
MethodList
(ctx context.Context, userID string, status string, problemType, search string, startTime, endTime time.Time,
server/internal/repository/interfaces.go:36
MethodList
(ctx context.Context, offset, limit int)
server/internal/repository/interfaces.go:65
MethodList
(ctx context.Context, offset, limit int)
server/internal/repository/rag_record.go:41
MethodList
(ctx context.Context, offset, limit int)
server/internal/repository/user.go:59
MethodListMaps
ListMaps handles retrieving a list of mind maps
server/internal/handler/map.go:64
MethodListNodes
ListNodes handles retrieving all nodes in a map
server/internal/handler/node.go:31
FunctionLogger
Logger 日志中间件
server/internal/middleware/logger.go:13
MethodLogin
Login implements user login
server/internal/service/auth.go:116
MethodLogin
Login handles user login
server/internal/handler/auth.go:61
FunctionLoginForm
({ className, ...props }: React.ComponentProps<"div">)
web/src/app/login/login-form.tsx:22
FunctionLogo
()
web/src/components/logo.tsx:28
MethodLogout
Logout implements user logout
server/internal/service/auth.go:166
MethodLogout
Logout handles user logout
server/internal/handler/auth.go:131
FunctionMakeAllFieldsRequired
递归设置所有嵌套Schema的additionalProperties为false并使所有字段required
server/internal/pkg/utils/schema.go:8
FunctionMapCanvas
({ mapID }: VisualizationAreaProps)
web/src/features/workspace/components/visualization-area/visualization-area.tsx:59
FunctionMapInfo
()
web/src/features/workspace/components/side-bar/map-info.tsx:11
FunctionMapOwnershipMiddleware
MapOwnershipMiddleware checks if the map belongs to the user
server/internal/middleware/map_ownership.go:12
MethodMarkMessageAsDeleted
MarkMessageAsDeleted 标记消息为已删除
server/internal/global/message_manager.go:671
MethodMarshalJSON
MarshalJSON 实现 json.Marshaler 接口
server/internal/model/jsonb.go:47
FunctionMessageArea
({ loading, messages, clickAction }: MessageAreaProps)
web/src/features/workspace/components/operation-panel/message-area.tsx:20
FunctionNavMain
({ items, }: { items: { title: string url: string icon?: LucideIcon isActive?: boolean
web/src/components/nav-main.tsx:22
FunctionNavProjects
({ projects, }: { projects: { name: string url: string icon: LucideIcon }[] })
web/src/components/nav-projects.tsx:28
FunctionNavUser
({ user, onLogout, }: { user: { name: string email: string avatar: string }, onLogout?:
web/src/components/nav-user.tsx:33
FunctionNewAuthHandler
(authService service.AuthService)
server/internal/handler/auth.go:19
FunctionNewBroker
NewBroker 创建一个新的事件代理
server/internal/pkg/sse/broker.go:55
FunctionNewClaudeModel
(ctx context.Context, config *claude.Config)
server/internal/agent/llmmodel/claude.go:19
FunctionNewClient
NewClient creates a new Redis client
server/internal/pkg/database/redis.go:18
FunctionNewConclusionHandler
NewConclusionHandler creates a new conclusion handler
server/internal/handler/thinking/conclusion.go:19
FunctionNewConclusionV3Service
(contextManager *ContextManager, nodeRepo repository.ThinkingNode)
server/internal/service/conclusion.go:34
FunctionNewDecompositionHandler
NewDecompositionHandler creates a new intent handler
server/internal/handler/thinking/decomposition.go:19
FunctionNewDecompositionService
NewDecompositionService creates a new intent service
server/internal/service/decomposition.go:39
FunctionNewMapHandler
(mapService *service.MapService)
server/internal/handler/map.go:18
FunctionNewMessageRepository
NewMessageRepository 创建消息仓储实例
server/internal/repository/message.go:22
FunctionNewNodeHandler
(nodeService *service.NodeService, conclusionService *service.ConclusionService, decompositionService *service
server/internal/handler/node.go:22
FunctionNewPostgresDB
(cfg *config.DatabaseConfig)
server/internal/pkg/database/postgres.go:18
← previousnext →601–700 of 1,120, ranked by callers