server

package
v0.0.0-...-474c629 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Payload

type Payload struct {
	Title    string
	Sections []Section
	JSON     string
}

type Section

type Section struct {
	Heading string
	Values  map[string]interface{}
}

type Server

type Server struct {
	Data *insights.Insights
	// contains filtered or unexported fields
}

func New

func New(i *insights.Insights) *Server

func (*Server) Start

func (s *Server) Start(port string) error

Jump to

Keyboard shortcuts

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