http

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2019 License: Apache-2.0 Imports: 3 Imported by: 77

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 added in v0.14.0

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