topology

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 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 {
	Service string
	Graph   *graph.Graph
	Router  *mux.Router
	Addr    string
	Port    int
	// contains filtered or unexported fields
}

func NewServer

func NewServer(s string, 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 added in v0.2.0

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