handler

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2018 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func API

func Broker

func Broker(cors map[string]bool) http.Handler

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