Download internal/server/api/api_key.go from llzai/axonhub: direct link, hf CLI and curl.
- Browser
- Download file 401 Bytes
-
https://huggingface.co/spaces/llzai/axonhub/resolve/main/internal/server/api/api_key.go
- Command line
-
hf download hf://spaces/llzai/axonhub/internal/server/api/api_key.go
-
curl -L -o api_key.go https://huggingface.co/spaces/llzai/axonhub/resolve/main/internal/server/api/api_key.go
401 Bytes
| package api | |
| import ( | |
| "go.uber.org/fx" | |
| "github.com/looplj/axonhub/internal/server/biz" | |
| ) | |
| type APIKeyHandlersParams struct { | |
| fx.In | |
| APIKeyService *biz.APIKeyService | |
| } | |
| type APIKeyHandlers struct { | |
| APIKeyService *biz.APIKeyService | |
| } | |
| func NewAPIKeyHandlers(params APIKeyHandlersParams) *APIKeyHandlers { | |
| return &APIKeyHandlers{ | |
| APIKeyService: params.APIKeyService, | |
| } | |
| } | |