web

package
v0.0.0-...-855f6b4 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler represents the web component of cellaserv and holds references to cellaserv components used in the web interface.

func New

func New(o *Options, logger common.Logger, broker *broker.Broker) *Handler

Returns a new web endpoint Handler

func (*Handler) Run

func (h *Handler) Run(ctx context.Context) error

Starts the web component

type Options

type Options struct {
	ListenAddr      string
	AssetsPath      string
	ExternalURLPath string
	BrokerAddr      string
}

Jump to

Keyboard shortcuts

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