server

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2018 License: MIT Imports: 12 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 {
	BootPeerAddrs []string
	Listen        string
	// contains filtered or unexported fields
}

func NewServer

func NewServer(peers []string) *Server

func (*Server) Run

func (m *Server) Run(ctx context.Context)

func (*Server) RunClients

func (m *Server) RunClients(ctx context.Context)

func (*Server) Stop

func (m *Server) Stop()

Jump to

Keyboard shortcuts

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