transport

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPHandler

func NewHTTPHandler(endpoints endpoint.Endpoints, logger log.Logger) http.Handler

NewHTTPHandler mounts all of the service endpoints into an http.Handler.

func NewJSONRPCHandler

func NewJSONRPCHandler(endpoints endpoint.Endpoints, logger log.Logger) *jsonrpc.Server

NewJSONRPCHandler returns a JSON RPC Server/Handler that can be passed to http.Handle()

Types

This section is empty.

Jump to

Keyboard shortcuts

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