function

package
v0.0.0-...-f23b73b Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2018 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Cors      = map[string]bool{"*": true}
	VersionRe = regexp.MustCompilePOSIX("^v[0-9]+$")
	Namespace = "BDP-micro"
	Reg       = zookeeper.NewRegistry()
	Servicec  micro.Service
)

Functions

func Getview

func Getview(url string) (bool, string)

func HandleJSONRPC

func HandleJSONRPC(Servicec micro.Service, r *http.Request) []byte

func PathToReceiver

func PathToReceiver(ns, p string) (string, string)

func RequestToContext

func RequestToContext(r *http.Request) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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