Help us shape the future of Go! Take the 2026 Go Developer Survey

helper

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PortFromURL

func PortFromURL(url *url.URL) int

PortFromURL infers port number if it is not explict

func PortaClient

func PortaClient(url *url.URL, masterAccessToken string) (*client.ThreeScaleClient, error)

PortaClient instantiates porta_client.ThreeScaleClient from admin url object

func PortaClientFromURLString

func PortaClientFromURLString(adminURLStr, masterAccessToken string) (*client.ThreeScaleClient, error)

PortaClientFromURLString instantiate porta_client.ThreeScaleClient from admin url string

func SetURLDefaultPort

func SetURLDefaultPort(rawurl string) string

SetURLDefaultPort adds the default Port if not set

Types

This section is empty.

Jump to

Keyboard shortcuts

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