serve

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(bindplane *cli.BindPlane, h profile.Helper) *cobra.Command

Command returns the BindPlane serve cobra command

Types

type Server

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

Server is the BindPlane web server, serving HTTP, Websocket and Graphql.

func (*Server) Start

func (s *Server) Start(ctx context.Context, bindplane *cli.BindPlane, h profile.Helper, forceConsoleColor, skipSeed bool) error

Start starts the BindPlane using the specified Config.

func (*Server) Stop

func (s *Server) Stop() error

Stop will stop the server with a timeout

Jump to

Keyboard shortcuts

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