web

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2018 License: Apache-2.0 Imports: 29 Imported by: 2

Documentation

Overview

Package web holds the code for serving the robot web interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port       int
	StaticRoot file.Path
	monitor.Managers
}

type Server

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

func Create

func Create(ctx context.Context, config Config) (*Server, error)

func (*Server) Close

func (s *Server) Close() error

func (*Server) Serve

func (s *Server) Serve(ctx context.Context) error

Directories

Path Synopsis
dom

Jump to

Keyboard shortcuts

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