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

Method Get

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

Get 获取 API Key 信息

(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

13type APIKeyStore interface {
14 // Get 获取 API Key 信息
15 Get(ctx context.Context, key string) (*APIKeyInfo, error)
16
17 // Create 创建新的 API Key
18 Create(ctx context.Context, info *APIKeyInfo) error

Callers 15

corsMiddlewareFunction · 0.65
ValidateMethod · 0.65
GetMethod · 0.65
UpdateMethod · 0.65
ExecuteMethod · 0.65
GetExecutionDetailsMethod · 0.65
SuspendMethod · 0.65
ResumeMethod · 0.65
GetSessionMethod · 0.65
GetMethod · 0.65
UpdateMethod · 0.65
ExecuteMethod · 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