managerapi

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListServersRequest

type ListServersRequest struct{}

type ListServersResponse

type ListServersResponse managertypes.ServerInfoList

type RegisterServerRequest

type RegisterServerRequest managertypes.ServerInfo

type Server

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

func NewManagerServer

func NewManagerServer(listenAddr, dbString string) (*Server, error)

NewManagerServer returns a new manager server, given a listening address for the server, and a DB connection string

func (*Server) HandleRequests

func (s *Server) HandleRequests()

func (*Server) ListServers

func (s *Server) ListServers(inp ListServersRequest) (*ListServersResponse, error)

func (*Server) RegisterServer

func (s *Server) RegisterServer(inp RegisterServerRequest) error

Jump to

Keyboard shortcuts

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