server

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PeeringBackend added in v0.2.0

type PeeringBackend interface {
	Register(host orchestrator.Host) (string, string, error)
	InitPeering(map[orchestrator.Host]peer.HostInfo) error
	Stop() error
}

type Server

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

Server handles grpc requests.

func New

New creates a new Server for grpc requests.

func (*Server) Init

func (s *Server) Init(_ context.Context, request *celestial.InitRequest) (*celestial.Empty, error)

func (*Server) Register added in v0.2.0

func (*Server) Stop added in v0.2.0

func (*Server) Update added in v0.2.0

func (s *Server) Update(stream celestial.Celestial_UpdateServer) error

Jump to

Keyboard shortcuts

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