File size: 401 Bytes
9853396 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 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,
}
}
|