MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / NewClaudeCodeAPIHandler

Function NewClaudeCodeAPIHandler

sdk/api/handlers/claude/code_handlers.go:44–48  ·  view source on GitHub ↗

NewClaudeCodeAPIHandler creates a new Claude API handlers instance. It takes an BaseAPIHandler instance as input and returns a ClaudeCodeAPIHandler. Parameters: - apiHandlers: The base API handler instance. Returns: - *ClaudeCodeAPIHandler: A new Claude code API handler instance.

(apiHandlers *handlers.BaseAPIHandler)

Source from the content-addressed store, hash-verified

42// Returns:
43// - *ClaudeCodeAPIHandler: A new Claude code API handler instance.
44func NewClaudeCodeAPIHandler(apiHandlers *handlers.BaseAPIHandler) *ClaudeCodeAPIHandler {
45 return &ClaudeCodeAPIHandler{
46 BaseAPIHandler: apiHandlers,
47 }
48}
49
50// HandlerType returns the identifier for this handler implementation.
51func (h *ClaudeCodeAPIHandler) HandlerType() string {

Callers 1

setupRoutesMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected