go-micro: github.com/micro/go-micro/transport/http Index | Files

package http

import "github.com/micro/go-micro/transport/http"

Package http returns a http2 transport using net/http


Package Files

http.go options.go

func Handle Uses

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

Handle registers the handler for the given pattern.

func NewTransport Uses

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

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

Package http imports 3 packages (graph) and is imported by 31 packages. Updated 2020-01-30. Refresh now. Tools for package owners.