spa

package
v0.0.0-...-a4dbabe Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DistPath describe targeted root directory for embedded files. Should
	// treat GOMOD as filesystem root.
	// Must be static and known at compile time so pkger tool could parse it.
	DistPath = "/ui/build"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SPA

type SPA struct {
	MountPath string

	logger.Logger
	// contains filtered or unexported fields
}

func (*SPA) MountToEchoRouter

func (s *SPA) MountToEchoRouter(router *echo.Echo, m ...echo.MiddlewareFunc)

Jump to

Keyboard shortcuts

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