server

package
v0.0.0-...-2263012 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BundleServer

type BundleServer struct {
	BaseDir   string
	Bundle    *bundle.Bundle
	DockerCli *client.Client
	// contains filtered or unexported fields
}

func New

func New(dir string) (*BundleServer, error)

func (*BundleServer) RegisterHandlers

func (b *BundleServer) RegisterHandlers(ctx context.Context)

RegisterHandlers registers with the DefaultServeMux to handle requests

func (*BundleServer) Start

func (b *BundleServer) Start(port string, launchBrowser bool) error

func (*BundleServer) Stop

func (b *BundleServer) Stop(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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