handler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2017 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func API

func Broker

func Broker(w http.ResponseWriter, r *http.Request)

func Meta

func Meta(namespace string) http.Handler

Meta is a http.Handler that routes based on endpoint metadata

func Proxy

func Proxy(r router.Router, s *api.Service, ws bool) http.Handler

Proxy is a reverse proxy used by the micro web and api

func RPC

func RPC(w http.ResponseWriter, r *http.Request)

RPC Handler passes on a JSON or form encoded RPC request to a service.

func RPCX

func RPCX(r router.Router, s *api.Service) http.Handler

func Registry

func Registry(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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