topology

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2016 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Graph  *graph.Graph
	Router *mux.Router
	Addr   string
	Port   int
	// contains filtered or unexported fields
}

func NewServer

func NewServer(g *graph.Graph, a string, p int, router *mux.Router) *Server

func NewServerFromConfig

func NewServerFromConfig(s string, g *graph.Graph, router *mux.Router) (*Server, error)

func (*Server) ListenAndServe

func (s *Server) ListenAndServe()

func (*Server) RegisterRpcEndpoints

func (s *Server) RegisterRpcEndpoints()

func (*Server) RegisterStaticEndpoints

func (s *Server) RegisterStaticEndpoints()

func (*Server) Stop

func (s *Server) Stop()

func (*Server) TopologyIndex

func (s *Server) TopologyIndex(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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