server

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: GPL-3.0 Imports: 8 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 {
	// contains filtered or unexported fields
}

Server handles grpc requests.

func New

New creates a new Server for grpc requests.

func (*Server) CreateMachine

CreateMachine handles CreateMachine grpc requests.

func (*Server) GetHostInfo

func (s *Server) GetHostInfo(_ context.Context, _ *celestial.Empty) (*celestial.HostInfo, error)

GetHostInfo handles GetHostInfo grpc requests.

func (*Server) HostReady

func (s *Server) HostReady(_ context.Context, _ *celestial.Empty) (*celestial.ReadyInfo, error)

func (*Server) Init

Init handles Init grpc requests.

func (*Server) InitRemotes

func (s *Server) InitRemotes(_ context.Context, request *celestial.InitRemotesRequest) (*celestial.Empty, error)

ModifyLinks handles ModifyLinks grpc requests.

func (*Server) ModifyMachine

ModifyMachine handles ModifyMachine grpc requests.

func (*Server) StartPeering

func (s *Server) StartPeering(_ context.Context, _ *celestial.Empty) (*celestial.Empty, error)

Jump to

Keyboard shortcuts

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