bootstrap

package
v0.0.0-...-c285f8c Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Init

func Init(path string)

func InitApplication

func InitApplication()

func InitStatic

func InitStatic()

InitStatic 初始化静态资源的文件系统

Types

type GinFS

type GinFS struct {
	FS http.FileSystem
}

GinFS 实现了 ServeFileSystem 和 FileSystem 接口

func (*GinFS) Exists

func (b *GinFS) Exists(prefix string, filepath string) bool

func (*GinFS) Open

func (b *GinFS) Open(name string) (http.File, error)

Jump to

Keyboard shortcuts

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