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.

34 lines
816 B

  1. // ================================================================================
  2. // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
  3. // You can delete these comments if you wish manually maintain this interface file.
  4. // ================================================================================
  5. package service
  6. import (
  7. v1 "UserRegister/api/v1"
  8. )
  9. type (
  10. ICover interface {
  11. // GetConfig 获取配置信息
  12. GetConfig(req *v1.GetConfigReq) (res v1.GetConfigRes, err error)
  13. // UpdateConfig 更新配置信息
  14. UpdateConfig(req *v1.UpdateConfigReq) (err error)
  15. }
  16. )
  17. var (
  18. localCover ICover
  19. )
  20. func Cover() ICover {
  21. if localCover == nil {
  22. panic("implement not found for interface ICover, forgot register?")
  23. }
  24. return localCover
  25. }
  26. func RegisterCover(i ICover) {
  27. localCover = i
  28. }