output

package
v0.0.0-...-16240d6 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DotFormatter

type DotFormatter struct{}

func NewDotFormatter

func NewDotFormatter() DotFormatter

func (DotFormatter) Format

func (d DotFormatter) Format(s []model.Server, w http.ResponseWriter)

func (DotFormatter) FormatToWriter

func (DotFormatter) FormatToWriter(s []model.Server, w io.Writer) error

type DotGraph

type DotGraph struct {
	Servers         []model.Server
	ExternalServers []string
	Dependencies    []DotGraphDep
}

type DotGraphDep

type DotGraphDep struct {
	From  string
	To    string
	Label string
}

type Formatter

type Formatter interface {
	Format(s []model.Server, w http.ResponseWriter)
}

type JSONFormatter

type JSONFormatter struct{}

func NewJSONFormatter

func NewJSONFormatter() JSONFormatter

func (JSONFormatter) Format

func (JSONFormatter) Format(s []model.Server, w http.ResponseWriter)

type JpgFormatter

type JpgFormatter struct{}

func NewJpgFormatter

func NewJpgFormatter() JpgFormatter

func (JpgFormatter) Format

func (JpgFormatter) Format(s []model.Server, w http.ResponseWriter)

Jump to

Keyboard shortcuts

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