bootstrapweb

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service is handling bootstrap related logic

func NewService

func NewService(log *zap.Logger, kademlia *kademlia.Kademlia) (*Service, error)

NewService returns new instance of Service

func (*Service) IsNodeAvailable

func (s *Service) IsNodeAvailable(ctx context.Context, nodeID pb.NodeID) (bool, error)

IsNodeAvailable is a method for checking if node is up

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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