[feature/backend] registration control

This commit is contained in:
CDN 2025-02-21 04:38:47 +08:00
parent 86ab334bc9
commit a853374009
Signed by: CDN
GPG key ID: 0C656827F9F80080
5 changed files with 142 additions and 49 deletions

View file

@ -13,12 +13,14 @@ import (
type Handler struct {
cfg *config.Config
config *config.Config
service service.Service
}
func NewHandler(cfg *config.Config, service service.Service) *Handler {
return &Handler{
cfg: cfg,
config: cfg,
service: service,
}
}