api

package
v0.0.0-...-3428828 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: AGPL-3.0 Imports: 19 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 this is the api server

func New

func New(addr string, c pb.ControllerClient) *Server

New creates a new api server

func (*Server) WaitForExit

func (s *Server) WaitForExit() error

WaitForExit starts up the server and blocks until the server shuts down.

Jump to

Keyboard shortcuts

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