http

package
v1.9.0-industry.4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DomainFromRequest

func DomainFromRequest(req *http.Request) string

DomainFromRequest returns the host by given http request.

func MakeAddress added in v1.3.1

func MakeAddress(scheme, host string, port int) string

MakeAddress to build external http address by given scheme, host and port.

func MakeEndpoint added in v1.3.1

func MakeEndpoint(scheme, host string, port int, path string) string

MakeEndpoint to build external http endpoint by given address and path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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