http

package
v2.8.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient() *http.Client

NewClient creates a http client use h2c

func NewServer added in v2.6.0

func NewServer(ctx context.Context, host string, port int, mux *http.ServeMux) *http.Server

NewServer returns an instance of an http server

func URL

func URL(host string, port int) string

URL create a http connection address

Types

This section is empty.

Jump to

Keyboard shortcuts

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