server

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 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 Config

type Config struct {
	serverww.Config `yaml:",inline"`
	ExternalURL     string `yaml:"external_url"`
}

Config extends weaveworks server config

type Server

type Server struct {
	*serverww.Server
	// contains filtered or unexported fields
}

Server embed weaveworks server with static file and templating capability

func New

func New(cfg Config, tms *targets.TargetManagers) (*Server, error)

New makes a new Server

Directories

Path Synopsis
Package ui provides the assets via a virtual filesystem.
Package ui provides the assets via a virtual filesystem.

Jump to

Keyboard shortcuts

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