MCPcopy Index your code

hub / github.com/NuyoahCh/mcpchainx / types & classes

Types & classes188 in github.com/NuyoahCh/mcpchainx

↓ 2 callersTypeAliasMode
Mode 定义身份认证服务的工作模式。
internal/auth/types.go:142
↓ 1 callersTypeAliasStatus
Status 表示任务在生命周期中的状态。
internal/task/task.go:10
↓ 1 callersInterfacelogSubscriber
logSubscriber mirrors the subset of methods required for log subscriptions.
internal/web3/ethereum/client.go:47
Class
web/src/api.ts:12
StructAPIError
APIError represents server side validation or internal errors.
sdk/go/openmcp/client.go:73
StructAgent
Agent 协调大模型与区块链交互,是系统的业务核心。
internal/agent/agent.go:40
StructAgentConfig
AgentConfig 控制智能体的工作方式。
internal/config/config.go:199
StructAttributes
Attributes 为错误码提供默认行为。
internal/errors/errors.go:22
StructAuditConfig
AuditConfig controls audit log output behaviour.
pkg/logger/logger.go:23
StructAuditConfig
AuditConfig defines audit log rotation settings.
internal/config/config.go:145
StructAuthConfig
AuthConfig 控制身份认证和授权的工作模式。
internal/config/config.go:94
InterfaceAuthCredentials
web/src/api.ts:34
InterfaceAuthCredentials
web/src/hooks/useAuth.ts:11
InterfaceAuthPanelProps
web/src/components/AuthPanel.tsx:5
InterfaceAuthState
web/src/api.ts:24
StructAuthStoreConfig
AuthStoreConfig 描述用户、角色与权限存储的参数。
internal/config/config.go:51
InterfaceAuthTokenResponse
web/src/types.ts:54
TypeAliasCapability
Capability expresses optional features a plugin may request access to.
pkg/plugin/types.go:14
StructChainDefinition
ChainDefinition describes a single chain endpoint definition.
internal/web3/config.go:17
StructChainDefinitions
ChainDefinitions models the structure of configs/chain.yaml.
internal/web3/config.go:12
StructChainSnapshot
ChainSnapshot represents summarized network metadata for UI/reporting.
internal/web3/types.go:14
TypeAliasChannel
Channel 表示通知渠道。
internal/observability/alerting/alert.go:15
InterfaceClient
Client defines the common interface that any chain implementation must provide so higher layers can interact with different networks uniformly.
internal/web3/types.go:61
InterfaceClient
Client 定义了调用大模型的统一接口。
internal/llm/llm.go:27
StructClient
Client implements the web3.Client interface for EVM compatible chains.
internal/web3/ethereum/client.go:34
StructClient
Client 通过 HTTP 调用 OpenAI 提供的大模型能力。
internal/llm/openai/client.go:32
StructClient
Client 通过调用 Python 脚本实现大模型推理。
internal/llm/pythonbridge/bridge.go:17
StructClient
Client wraps the HTTP interactions with the OpenMCP Chain REST API.
sdk/go/openmcp/client.go:22
TypeAliasCode
Code 表示系统内的统一错误码。
internal/errors/errors.go:10
StructConfig
Config describes how the application logger should behave.
pkg/logger/logger.go:15
StructConfig
Config describes how to construct an EVM compatible client.
internal/web3/ethereum/client.go:25
StructConfig
Config 描述了调用 OpenAI Chat Completions API 所需的信息。
internal/llm/openai/client.go:24
StructConfig
Config 定义身份认证服务的配置参数。
internal/auth/types.go:134
StructConfig
Config 控制 MySQL 仓库的连接参数与连接池配置。
internal/storage/mysql/task_repository.go:360
StructConfig
Config 描述了 OpenMCP 在启动阶段需要加载的核心配置。
internal/config/config.go:15
InterfaceConnectionSettingsProps
web/src/components/ConnectionSettings.tsx:3
InterfaceConsumer
Consumer 负责从队列中消费任务。
internal/task/queue.go:17
InterfaceCreateTaskRequest
web/src/types.ts:34
InterfaceCreateTaskResponse
web/src/types.ts:41
StructCredentials
Credentials represents workspace credentials used to obtain access tokens.
sdk/go/openmcp/client.go:31
StructDeploymentResult
DeploymentResult captures the outcome of a contract deployment request.
internal/web3/types.go:21
StructDingTalkNotifier
DingTalkNotifier 通过钉钉机器人发送告警。
internal/observability/alerting/alert.go:121
InterfaceDingTalkSender
DingTalkSender 负责向钉钉机器人发送消息。
internal/observability/alerting/alert.go:116
InterfaceDispatcher
Dispatcher 将事件广播给多个通知器。
internal/observability/alerting/alert.go:44
StructEmailNotifier
EmailNotifier 通过邮件发送告警。
internal/observability/alerting/alert.go:88
InterfaceEmailSender
EmailSender 定义发送邮件所需的能力。
internal/observability/alerting/alert.go:83
StructError
Error 是系统内统一的错误类型。
internal/errors/errors.go:137
StructEvent
Event 描述一次需要告警的事件。
internal/observability/alerting/alert.go:25
StructEventSubscription
EventSubscription wraps a log subscription so callers can manage lifecycle without depending on the go-ethereum event package.
internal/web3/types.go:28
StructExecutionContext
ExecutionContext is passed to plugins for every lifecycle stage.
pkg/plugin/plugin.go:21
InterfaceExecutionResult
web/src/types.ts:3
StructExecutionResult
ExecutionResult 保存一次任务执行的结果。
internal/task/task.go:20
InterfaceExecutor
Executor 定义了处理器所需的 Agent 能力。
internal/task/processor.go:17
StructFanoutDispatcher
FanoutDispatcher 实现将事件投递到多个通知器的逻辑。
internal/observability/alerting/alert.go:49
StructGoPluginLoader
GoPluginLoader uses the Go standard library plugin mechanism to dynamically load modules.
pkg/plugin/loader.go:14
FuncTypeHandler
Handler 处理来自消息队列的任务 ID。
internal/task/queue.go:8
StructHistoryEntry
HistoryEntry 描述了一段历史任务,用于为大模型提供上下文记忆。
internal/llm/llm.go:32
StructInfo
Info contains descriptive metadata for a plugin implementation.
pkg/plugin/types.go:23
StructIsolationPolicy
IsolationPolicy governs the security restrictions enforced for a plugin.
pkg/plugin/config.go:27
InterfaceIsolationStrategy
IsolationStrategy enforces security restrictions for plugins at runtime.
pkg/plugin/isolation.go:10
StructJWTConfig
JWTConfig 描述本地 JWT 签发与校验所需的参数。
internal/config/config.go:102
StructJWTOptions
JWTOptions 是 JWT 身份认证的配置选项。
internal/auth/types.go:152
StructKnowledgeCard
KnowledgeCard 表示提供给大模型的知识切片,帮助生成更加准确的回复。
internal/llm/llm.go:21
StructKnowledgeConfig
KnowledgeConfig 描述知识库的加载方式。
internal/config/config.go:204
StructLLMConfig
LLMConfig 用于配置大模型推理的调用方式。
internal/config/config.go:154
FuncTypeListOption
ListOption mutates ListOptions.
internal/task/list_options.go:60
StructListOptions
ListOptions controls how tasks are selected when querying the store.
internal/task/list_options.go:26
InterfaceLoader
Loader resolves plugin binaries into Plugin implementations.
pkg/plugin/loader.go:9
StructLoggingConfig
LoggingConfig controls structured logging behaviour.
internal/config/config.go:132
StructManager
Manager keeps track of registered plugins and orchestrates their lifecycle.
pkg/plugin/manager.go:12
StructManagerConfig
ManagerConfig describes how the plugin manager should behave.
pkg/plugin/config.go:12
StructMemoryQueue
MemoryQueue 使用 channel 模拟消息队列,主要用于测试。
internal/task/memory_queue.go:10
StructMemoryStore
MemoryStore 是基于内存的身份认证存储实现,适用于测试和轻量级场景。
internal/auth/memory_store.go:12
StructMemoryStore
MemoryStore 以内存方式保存任务状态,主要用于测试。
internal/task/memory_store.go:15
StructMemoryTaskRepository
MemoryTaskRepository 使用本地 JSON 文件模拟 MySQL 的效果,方便迭代开发。
internal/storage/mysql/task_repository.go:43
StructMetricsConfig
MetricsConfig enables Prometheus-compatible metrics export.
internal/config/config.go:139
StructMiddlewareConfig
MiddlewareConfig 配置身份认证中间件的行为。
internal/auth/middleware.go:11
StructMySQLStore
MySQLStore 使用 MySQL 记录任务状态。
internal/task/mysql_store.go:17
InterfaceNetworkStatus
web/src/hooks/useNetworkStatus.ts:3
StructNoopIsolationStrategy
NoopIsolationStrategy performs only capability validation.
pkg/plugin/isolation.go:17
InterfaceNotifier
Notifier 负责将事件发送到指定渠道。
internal/observability/alerting/alert.go:38
StructOAuthConfig
OAuthConfig 描述与外部 OAuth2/OIDC 服务的集成方式。
internal/config/config.go:112
StructOAuthOptions
OAuthOptions 是 OAuth 身份认证的配置选项。
internal/auth/types.go:161
StructObservabilityConfig
ObservabilityConfig groups logging, metrics and audit settings.
internal/config/config.go:87
StructOpenAIConfig
OpenAIConfig 描述访问 OpenAI 兼容 API 所需的配置。
internal/config/config.go:169
FuncTypeOption
Option modifies the behaviour of a plugin manager instance.
pkg/plugin/plugin.go:52
FuncTypeOption
Option 定义可选配置。
internal/errors/errors.go:148
FuncTypeOption
Option configures optional features on the API server.
internal/api/server.go:42
FuncTypeOption
Option 定义可选的 Agent 配置。
internal/agent/agent.go:50
InterfacePlugin
Plugin defines the lifecycle hooks that each plugin implementation must satisfy.
pkg/plugin/plugin.go:6
StructPluginConfig
PluginConfig is the configuration block for a single plugin instance.
pkg/plugin/config.go:19
StructProcessor
Processor 负责从队列消费任务并交给 Agent 执行。
internal/task/processor.go:22
FuncTypeProcessorOption
ProcessorOption 定义可选配置。
internal/task/processor.go:34
InterfaceProducer
Producer 负责向队列投递任务。
internal/task/queue.go:11
InterfaceProvider
Provider 定义知识库检索的通用接口。
internal/knowledge/static.go:12
StructPythonBridgeConfig
PythonBridgeConfig 描述通过 Python 脚本完成推理时所需的信息。
internal/config/config.go:161
InterfaceQueue
Queue 同时具备生产者与消费者能力。
internal/task/queue.go:23
StructRabbitMQConfig
RabbitMQConfig 描述 RabbitMQ 队列的连接参数。
internal/task/rabbitmq_queue.go:13
StructRabbitMQQueue
RabbitMQQueue 使用 RabbitMQ 实现任务队列。
internal/task/rabbitmq_queue.go:22
StructRabbitQueueConfig
RabbitQueueConfig 描述 RabbitMQ 参数。
internal/config/config.go:78
next →1–100 of 188, ranked by callers