gograph

package module
v0.0.0-...-dfe1da3 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoGraph

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

func NewGoGraph

func NewGoGraph(log *os.File) (*GoGraph, error)

func (*GoGraph) Close

func (graph *GoGraph) Close()

func (*GoGraph) Run

func (graph *GoGraph) Run(addr string)

func (*GoGraph) Serve

func (graph *GoGraph) Serve(addr string)

func (*GoGraph) Update

func (graph *GoGraph) Update(update GraphSetUpdate) error

type GraphLineUpdate

type GraphLineUpdate struct {
	Name string
	YVal float64
}

type GraphSetUpdate

type GraphSetUpdate struct {
	Graphs []GraphUpdate
}

type GraphUpdate

type GraphUpdate struct {
	Name  string
	XVal  string
	Lines []GraphLineUpdate
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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