view

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2017 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package view provides the user interface.

Index

Constants

This section is empty.

Variables

View Source
var Favicon faviconHandler

Favicon serves a favicon.ico.

View Source
var Static staticHandler

Static serves "static resources".

Functions

func Channel

func Channel(g *graph.Graph, name string, w http.ResponseWriter, r *http.Request)

Channel handles viewing/editing a channel.

func Graph

func Graph(g *graph.Graph, w http.ResponseWriter, r *http.Request)

Graph handles displaying/editing a graph.

func NewBrowser

func NewBrowser() http.Handler

NewBrowser makes a Handler that can browse the filesystem and also multiple graphs stored in the filesystem.

func Node

func Node(g *graph.Graph, name string, w http.ResponseWriter, r *http.Request)

Node handles viewing/editing a node.

Types

This section is empty.

Jump to

Keyboard shortcuts

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