Back to godoc.org

Package web

v0.0.0-...-f0dc348
Latest Go to latest

The latest major version is .

Published: Dec 31, 2019 | License: Apache-2.0 | Module: bitbucket.org/evolutek/cellaserv3

Index

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
}

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier