- 在Startup结构体中新增RegistryTypeEnv常量 - 支持从环境变量读取配置的注册表实现 - 完善注册表类型枚举定义
@@ -7,6 +7,7 @@ import (
const (
RegistryTypeEtcd = "etcd"
RegistryTypeLocal = "local"
+ RegistryTypeEnv = "env"
)
type Startup struct {