remote

package
v0.1.16 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	FlagAPIEndpoint = "api-endpoint"
	FlagConsoleAPI  = "console-api-endpoint"
)

Variables

This section is empty.

Functions

func CreateKratosURL added in v0.0.50

func CreateKratosURL(apiURL, consoleURL string) (*url.URL, error)

func GetProjectSlug added in v0.0.50

func GetProjectSlug(consoleURL string) (string, error)

func IsUrl added in v0.0.50

func IsUrl(str string) (*url.URL, error)

func NewAdminClient added in v0.0.42

func NewAdminClient(apiURL, consoleURL string) *kratos.APIClient

func NewHTTPClient added in v0.0.42

func NewHTTPClient() *http.Client

func RegisterClientFlags

func RegisterClientFlags(flags *pflag.FlagSet)

Types

This section is empty.

Jump to

Keyboard shortcuts

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