Versions in this module Expand all Collapse all v0 v0.0.21 Jun 17, 2024 v0.0.20 Jun 14, 2024 Changes in this version + func AddCrossRegionMiddleware(client *resty.Client) *resty.Client + func ClearCache() + func InitCrossRegionConfig(application *aconfig.Application) error + func MustNewRestyWith(portName aconfig.PortName, appConfig *aconfig.Application, protocol string) *resty.Client + func NewRestyWith(portName aconfig.PortName, appConfig *aconfig.Application, protocol string) (*resty.Client, error) + type AuthServer struct + Location *Location + type Az struct + AzCode string + AzName string + Default bool + PropMap Prop + Status int + type Config struct + AuthServer *AuthServer + RegionServer *RegionServer + type Location struct + AK string + Address string + Path string + Port int + SK string + type Prop map[string]interface + func (p Prop) GetString(key string) string + func (p Prop) GetStringIgnoreCase(key string) string + type Region struct + AzList []*Az + Default bool + OpsArch string + OpsEnv string + PropMap Prop + RegionCode string + RegionName string + Status int + func GetRegionList(ctx context.Context) (list []*Region, err error) + type RegionResult struct + ErrorMsg string + Message string + Regions []*Region + Status int + type RegionServer struct + Location *Location