ui

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 29, 2021 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReactAppWrapper

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

ReactAppWrapper wrap some stuff

func New

func New(cfg *config.Config, userStorer storage.UserStorer,
	codeConnector codeGenerator, h *hub.Hub,
	docHandler documentHandler) *ReactAppWrapper

New Create a React app

func (ReactAppWrapper) Open

func (w ReactAppWrapper) Open(filepath string) (http.File, error)

Open opens a file from the fs (virtual)

func (*ReactAppWrapper) RegisterRoutes

func (app *ReactAppWrapper) RegisterRoutes(router *gin.Engine)

RegisterRoutes the apps routes

type UpdateDoc

type UpdateDoc struct {
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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