http

package
v0.0.0-...-195dfb8 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequestDecoder

func RequestDecoder(_ context.Context, r *http.Request) (interface{}, error)

RequestDecoder decode rpc request from http request

func RequestEncoder

func RequestEncoder(_ context.Context, r *http.Request, request interface{}) error

RequestEncoder encode rpc request to http request

func ResponseDecoder

func ResponseDecoder(_ context.Context, resp *http.Response) (interface{}, error)

ResponseDecoder decode rpc response from http response

func ResponseEncoder

func ResponseEncoder(_ context.Context, w http.ResponseWriter, response interface{}) error

ResponseEncoder encode rpc response to http response

Types

This section is empty.

Jump to

Keyboard shortcuts

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