service.go 388 B

1234567891011121314151617181920212223242526
  1. package service
  2. import "git.sxidc.com/go-framework/baize/framework/core/application"
  3. const (
  4. dbSchema = "test"
  5. )
  6. const (
  7. jwtSecretKey = "f0s351lanchdtx"
  8. )
  9. const (
  10. aesKey = "@MKU^*HF%p&KIGT5<TAHCVD#$XZSWQ@L"
  11. )
  12. type Service interface {
  13. Init(appInstance *application.App) error
  14. Destroy() error
  15. }
  16. var RegisteredServices = []Service{
  17. versionService,
  18. authService,
  19. classService,
  20. }