frontendbuild

package
v0.0.0-...-7d1f1a1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MwServeFrontendFiles

func MwServeFrontendFiles(r *gin.Engine)

func Serve

func Serve(urlPrefix, apiPrefix string, fs ServeFileSystem) gin.HandlerFunc

Serve Static returns a middleware handler that serves static files in the given directory.

Types

type ServeFileSystem

type ServeFileSystem interface {
	http.FileSystem
	Exists(prefix string, path string) bool
}

Jump to

Keyboard shortcuts

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