feat: 添加基础通道实现和请求处理逻辑
This commit is contained in:
@@ -10,5 +10,5 @@ import (
|
||||
type ChannelProxy interface {
|
||||
// Handle takes a context, an API key, and the original request,
|
||||
// then forwards the request to the upstream service.
|
||||
Handle(c *gin.Context, apiKey *models.APIKey, group *models.Group)
|
||||
Handle(c *gin.Context, apiKey *models.APIKey, group *models.Group) error
|
||||
}
|
Reference in New Issue
Block a user