utils

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EnvApiDomain is the environment variable name for the API domain. If set, it will override the default domain.
	EnvApiDomain = "KSC_GALAXY_API_DOMAIN"
)

Variables

This section is empty.

Functions

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
}

Jump to

Keyboard shortcuts

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