webdash

package
v0.0.0-...-c9c84e3 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 11 Imported by: 1

README

Funnel Web Dashboard

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Documentation

Overview

Code generated for package webdash by go-bindata DO NOT EDIT. (@generated) sources: webdash/build/asset-manifest.json webdash/build/favicon.ico webdash/build/health.html webdash/build/index.html webdash/build/manifest.json webdash/build/static/css/main.f25bc237.chunk.css webdash/build/static/css/main.f25bc237.chunk.css.map webdash/build/static/js/2.0d0bb7bb.chunk.js webdash/build/static/js/2.0d0bb7bb.chunk.js.LICENSE.txt webdash/build/static/js/2.0d0bb7bb.chunk.js.map webdash/build/static/js/main.a833232b.chunk.js webdash/build/static/js/main.a833232b.chunk.js.map webdash/build/static/js/runtime-main.d960a0db.js webdash/build/static/js/runtime-main.d960a0db.js.map

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Asset

func Asset(name string) ([]byte, error)

Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.

func AssetDir

func AssetDir(name string) ([]string, error)

AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data contains the following hierarchy:

data/
  foo.txt
  img/
    a.png
    b.png

then AssetDir("data") would return []string{"foo.txt", "img"} AssetDir("data/img") would return []string{"a.png", "b.png"} AssetDir("foo.txt") and AssetDir("notexist") would return an error AssetDir("") will return []string{"data"}.

func AssetInfo

func AssetInfo(name string) (os.FileInfo, error)

AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.

func AssetNames

func AssetNames() []string

AssetNames returns the names of the assets.

func FileServer

func FileServer() http.Handler

FileServer provides access to the bundled web assets (HTML, CSS, etc) via an http.Handler

func MustAsset

func MustAsset(name string) []byte

MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.

func RestoreAsset

func RestoreAsset(dir, name string) error

RestoreAsset restores an asset under the given directory

func RestoreAssets

func RestoreAssets(dir, name string) error

RestoreAssets restores an asset under the given directory recursively

func RootHandler

func RootHandler() http.Handler

RootHandler returns an http handler which always responds with the /index.html file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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