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