router

package
v2.9.3 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Name of the router microservice
	Name = "go.micro.router"
	// Address is the router microservice bind address
	Address = ":8084"
	// Network is the network name
	Network = router.DefaultNetwork
	// Topic is router adverts topic
	Topic = "go.micro.router.adverts"
)

Functions

func Commands

func Commands(options ...micro.Option) []*cli.Command

func Plugins

func Plugins() []plugin.Plugin

Plugins lists the router plugins

func Register

func Register(pl plugin.Plugin) error

Register registers an router plugin

func Run added in v2.8.0

func Run(ctx *cli.Context, srvOpts ...micro.Option)

Run runs the micro server

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