handler

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Meta

func Meta(s micro.Service, r router.Router, ns func(*http.Request) string) http.Handler

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

func RPC

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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