service.go 413 B

123456789101112131415161718192021222324
  1. package service
  2. import (
  3. "git.sxidc.com/go-framework/baize/framework/core/application"
  4. )
  5. const (
  6. dbSchema = "pcs"
  7. )
  8. type Service interface {
  9. Init(appInstance *application.App) error
  10. Destroy() error
  11. }
  12. var RegisteredServices = []Service{
  13. /* HAC: REGISTER SERVICE */
  14. versionService,
  15. sqlExecutorService,
  16. configurationService,
  17. operateLogService,
  18. shopDecorationService,
  19. /* HAC: END REGISTER SERVICE */
  20. }