pnetserver

package
v0.0.0-...-dde4a86 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package pnetserver implements the ParanoidNetwork gRPC server. globals.go contains data used by each gRPC handler in pnetserver.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParanoidServer

type ParanoidServer struct {
	pb.UnimplementedParanoidNetworkServiceServer
}

ParanoidServer implements the paranoidnetwork gRPC server

func (*ParanoidServer) JoinCluster

JoinCluster receives requests from nodes asking to join raft cluster

func (*ParanoidServer) NewGeneration

NewGeneration receives requests from nodes asking to create a new KeyPiece generation in preparation for joining the cluster.

func (*ParanoidServer) Ping

Ping implements the Ping RPC

func (*ParanoidServer) RequestKeyPiece

RequestKeyPiece implements the RequestKeyPiece RPC

func (*ParanoidServer) SendKeyPiece

SendKeyPiece implements the SendKeyPiece RPC

Jump to

Keyboard shortcuts

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