peerdiscovery

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package peerdiscovery contains the webmesh PeerDiscovery API service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	v1.UnimplementedPeerDiscoveryServer
	// contains filtered or unexported fields
}

Server is the webmesh PeerDiscovery service.

func NewServer

func NewServer(store meshdb.Store) *Server

NewServer returns a new Server.

func (*Server) ListPeers

func (s *Server) ListPeers(ctx context.Context, _ *emptypb.Empty) (*v1.ListRaftPeersResponse, error)

Jump to

Keyboard shortcuts

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