network

package
v0.10.10 Latest Latest
Warning

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

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

Documentation

Overview

package network implements vine network node

Index

Constants

This section is empty.

Variables

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

Functions

func Commands

func Commands(options ...vine.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, svcOpts ...vine.Option)

Run runs the vine 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 `vine network dns` command
Package handler is the handler for the `vine 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