ui

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package ui generated by go-bindata.// sources: pkg/ui/react-app/build/asset-manifest.json pkg/ui/react-app/build/favicon.ico pkg/ui/react-app/build/index.html pkg/ui/react-app/build/logo192.png pkg/ui/react-app/build/logo512.png pkg/ui/react-app/build/manifest.json pkg/ui/react-app/build/precache-manifest.e60339b7d0bb5c9e4d92662fe145e16c.js pkg/ui/react-app/build/robots.txt pkg/ui/react-app/build/service-worker.js pkg/ui/react-app/build/static/css/main.0087f701.chunk.css pkg/ui/react-app/build/static/css/main.0087f701.chunk.css.map pkg/ui/react-app/build/static/js/2.8ca1028c.chunk.js pkg/ui/react-app/build/static/js/2.8ca1028c.chunk.js.LICENSE.txt pkg/ui/react-app/build/static/js/2.8ca1028c.chunk.js.map pkg/ui/react-app/build/static/js/main.7083e38d.chunk.js pkg/ui/react-app/build/static/js/main.7083e38d.chunk.js.map pkg/ui/react-app/build/static/js/runtime-main.d7a593f2.js pkg/ui/react-app/build/static/js/runtime-main.d7a593f2.js.map pkg/ui/react-app/build/static/media/acc.e3e71027.svg pkg/ui/react-app/build/static/media/arrow.81cc87b4.svg pkg/ui/react-app/build/static/media/group.f18a9b52.svg pkg/ui/react-app/build/static/media/help.4d334602.svg pkg/ui/react-app/build/static/media/hero.c2670c54.svg pkg/ui/react-app/build/static/media/logo.44a387c9.svg pkg/ui/react-app/build/static/media/member.b416abfb.svg pkg/ui/react-app/build/static/media/mono.33b177c1.svg pkg/ui/react-app/build/static/media/notif.d3655146.svg pkg/ui/react-app/build/static/media/picasso.cd7f8f07.svg pkg/ui/react-app/build/static/media/plus.cdd684f4.svg pkg/ui/react-app/build/static/media/send.5cf728ae.svg pkg/ui/react-app/build/static/media/settings.11849f3a.svg pkg/ui/react-app/build/static/media/trash.a9e23ca0.svg

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 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

Types

type BaseUI

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

BaseUI represent the React UI

func NewBaseUI

func NewBaseUI(router *gin.Engine, logger log.Logger) (*BaseUI, error)

NewBaseUI is used to create a instance of BaseUI

func (*BaseUI) Register

func (bu *BaseUI) Register()

Register registers all handlers for UI

Jump to

Keyboard shortcuts

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