server

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableRouterHTTPCheck

func EnableRouterHTTPCheck()

Types

type Peer

type Peer struct {
	UUID      string
	SourceIP  string
	DestIP    string
	IsRouter  bool
	Reachable bool
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(mc metadata.Client) *Server

func (*Server) GetPeers

func (s *Server) GetPeers() *syncmap.Map

func (*Server) RunLoop

func (s *Server) RunLoop() error

func (*Server) RunRetryLoop

func (s *Server) RunRetryLoop() error

Jump to

Keyboard shortcuts

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