utils

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSdkValue added in v0.1.14

func GetSdkValue(keyPattern string, obj interface{}) (interface{}, error)

func Protocol

func Protocol(useSSL bool) string

func Url

func Url(urlInfo *UrlInfo, info ServiceInfo) string

Types

type ServiceInfo

type ServiceInfo struct {
	Service string
	Region  string
}

type UrlInfo

type UrlInfo struct {
	UseSSL                      bool
	Locate                      bool
	UseInternal                 bool
	CustomerDomain              string
	CustomerDomainIgnoreService bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL