common

package
v0.0.0-...-9d9a17d Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APPVIEWX_ENV_IS_HTTPS                = "APPVIEWX_ENV_IS_HTTPS"
	APPVIEWX_ENV_HOST                    = "APPVIEWX_ENV_HOST"
	APPVIEWX_ENV_PORT                    = "APPVIEWX_ENV_PORT"
	APPVIEWX_ENV_USER_NAME               = "APPVIEWX_ENV_USER_NAME"
	APPVIEWX_ENV_PASSWORD                = "APPVIEWX_ENV_PASSWORD"
	APPVIEWX_ENV_CERTIFICATE_AUTHORITY   = "APPVIEWX_ENV_CERTIFICATE_AUTHORITY"
	APPVIEWX_ENV_CA_SETTING_NAME         = "APPVIEWX_ENV_CA_SETTING_NAME"
	APPVIEWX_ENV_NAME                    = "APPVIEWX_ENV_CA_NAME"
	APPVIEWX_ENV_VALIDITY_IN_DAYS        = "APPVIEWX_ENV_VALIDITY_IN_DAYS"
	APPVIEWX_ENV_CERTIFICATE_GROUP_NAME  = "APPVIEWX_ENV_CERTIFICATE_GROUP_NAME"
	APPVIEWX_ENV_CATEGORY                = "APPVIEWX_ENV_CATEGORY"
	APPVIEWX_ENV_VENDOR_SPECIFIC_DETAILS = "APPVIEWX_ENV_VENDOR_SPECIFIC_DETAILS"
)

Variables

This section is empty.

Functions

func GenerateURL

func GenerateURL(ctx context.Context, isHTTPS bool, host string, port int, mainPath string, subPath string, queryParam map[string]string) (string, error)

Types

type ServerOpts

type ServerOpts struct {
	GrpcHostName     string
	GrpcPort         string
	Protocol         string
	AppViewXHostName string
	AppViewXPort     string
	AppViewXIsHTTPS  bool
	CAName           string
	CASettingName    string
}

ServerOpts to capture the server flags and start the server

func (ServerOpts) String

func (serverOpts ServerOpts) String() string

Jump to

Keyboard shortcuts

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