|
|
@@ -24,6 +24,10 @@ func WithServiceApiVersion(serviceApiVersion string) Option {
|
|
|
|
|
|
var serviceBaseUrlMap sync.Map
|
|
|
|
|
|
+func RegisterService(serviceShortName string, baseUrl string) {
|
|
|
+ serviceBaseUrlMap.Store(serviceShortName, baseUrl)
|
|
|
+}
|
|
|
+
|
|
|
func BuildGateway(builder *gateway.Builder, opts ...Option) {
|
|
|
options := new(Options)
|
|
|
|