http

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package http returns a http2 transport using net/http

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(pattern string, handler http.Handler) transport.Option

Handle registers the handler for the given pattern.

func NewTransport

func NewTransport(opts ...transport.Option) transport.Transport

NewTransport returns a new http transport using net/http and supporting http2

Types

This section is empty.

Jump to

Keyboard shortcuts

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