[feature/backend] registration control
This commit is contained in:
parent
86ab334bc9
commit
a853374009
5 changed files with 142 additions and 49 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue