hub

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TopicHubDiscover   = "hubDiscover"
	TopicMinerDiscover = "minerDiscover"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	PrivateKey *ecdsa.PrivateKey
	Frd        *fusrodah.Fusrodah
	// contains filtered or unexported fields
}

func NewServer

func NewServer(prv *ecdsa.PrivateKey, workerEndpt, clientEndpt string) (srv *Server, err error)

func (*Server) Serve

func (srv *Server) Serve()

func (*Server) Start

func (srv *Server) Start() (err error)

func (*Server) Stop

func (srv *Server) Stop() (err error)

Jump to

Keyboard shortcuts

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