MCPcopy Create free account
hub / github.com/astercloud/aster / Create

Method Create

server/auth/apikey.go:18–18  ·  view source on GitHub ↗

Create 创建新的 API Key

(ctx context.Context, info *APIKeyInfo)

Source from the content-addressed store, hash-verified

16
17 // Create 创建新的 API Key
18 Create(ctx context.Context, info *APIKeyInfo) error
19
20 // Delete 删除 API Key
21 Delete(ctx context.Context, key string) error

Callers 2

ValidateMethod · 0.65
CreateAgentMethod · 0.65

Implementers 13

Poolpkg/core/pool.go
InMemoryServicepkg/session/inmemory.go
Servicepkg/session/postgres/service.go
Servicepkg/session/mysql/service.go
Servicepkg/session/sqlite/store.go
MemoryAPIKeyStoreserver/auth/apikey.go
WorkflowHandlerserver/handlers/workflow.go
ToolHandlerserver/handlers/tool.go
MiddlewareHandlerserver/handlers/middleware.go
SessionHandlerserver/handlers/session.go
RoomHandlerserver/handlers/room.go
MCPHandlerserver/handlers/mcp.go

Calls

no outgoing calls

Tested by

no test coverage detected