configuration.go 368 B

123456789101112
  1. package root
  2. import (
  3. "baize-demo/project/gateway/config"
  4. "git.sxidc.com/go-framework/baize/convenient/domain_gateway/configuration"
  5. "git.sxidc.com/go-framework/baize/framework/gateway"
  6. )
  7. func configurationGateway(gw *gateway.Gateway) {
  8. configuration.RegisterService("example", config.GetConfig().ServicesConfig.ExampleBaseUrl)
  9. configuration.BuildGateway(gw)
  10. }