endpoint

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSecure

func IsSecure(u *url.URL) bool

IsSecure parses isSecure for Endpoint URL.

func NewEndpoint

func NewEndpoint(scheme, host string, isSecure bool) *url.URL

NewEndpoint new an Endpoint URL.

func ParseEndpoint

func ParseEndpoint(endpoints []string, scheme string, isSecure bool) (string, error)

ParseEndpoint parses an Endpoint URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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