ui

package
v0.0.0-...-813e729 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(history *objects.History, repoName, port string)

Types

type DiffView

type DiffView struct {
	Name        string
	History     *objects.FunctionHistory
	LeftDiff    diff.Coloring
	RightDiff   diff.Coloring
	First, Last string
}
type Link struct {
	Name    string
	First   string
	Len     int
	Total   int
	Deleted bool
}
type Links []Link

func (Links) Len

func (l Links) Len() int

func (Links) Less

func (l Links) Less(i, j int) bool

func (Links) Swap

func (l Links) Swap(i, j int)

type ListViewData

type ListViewData struct {
	RepoName   string
	Links      Links
	Stats      map[string]interface{}
	ChartsData map[string]objects.ChartData
}

type Template

type Template struct {
	// contains filtered or unexported fields
}

func (*Template) Render

func (t *Template) Render(w io.Writer, name string, data interface{}, c echo.Context) error

Jump to

Keyboard shortcuts

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