network

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: 27 Imported by: 0

Documentation

Overview

package network implements micro network node

Index

Constants

This section is empty.

Variables

View Source
var (
	// Name of the network service
	Name = "go.micro.network"
	// Name of the micro network
	Network = "go.micro"
	// Address is the network address
	Address = ":8085"
	Advertise = ""
	// Resolver is the network resolver
	Resolver = "registry"
	// The tunnel token
	Token = "micro"
)

Functions

func Commands

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

func Plugins

func Plugins() []plugin.Plugin

Plugins lists the network plugins

func Register

func Register(pl plugin.Plugin) error

Register registers an network plugin

func Run

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

Run runs the micro server

Types

This section is empty.

Directories

Path Synopsis
Package api is the network api
Package api is the network api
dns
Package dns provides a DNS registration service for autodiscovery of core network nodes.
Package dns provides a DNS registration service for autodiscovery of core network nodes.
handler
Package handler is the handler for the `micro network dns` command
Package handler is the handler for the `micro network dns` command
provider
Package provider lets you abstract away any number of DNS providers
Package provider lets you abstract away any number of DNS providers
provider/cloudflare
Package cloudflare is a dns Provider for cloudflare
Package cloudflare is a dns Provider for cloudflare
Package handler implements network RPC handler
Package handler implements network RPC handler

Jump to

Keyboard shortcuts

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