You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
370 B
24 lines
370 B
1 year ago
|
package config
|
||
|
|
||
|
import (
|
||
|
"sorbet/internal/services/config/controller"
|
||
|
"sorbet/pkg/app"
|
||
|
)
|
||
|
|
||
|
type Service struct {
|
||
|
}
|
||
|
|
||
|
func (s *Service) Init(ctx *app.Context) error {
|
||
|
ctx.Routes(&controller.ConfigGroupController{})
|
||
|
ctx.Routes(&controller.ConfigController{})
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (s *Service) Start() error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (s *Service) Stop() error {
|
||
|
return nil
|
||
|
}
|