web

package
v0.0.0-...-21f6cc7 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PageTemplate string

Functions

func CreatePage

func CreatePage(root string, path string) (string, error)

func CreateServer

func CreateServer() *gin.Engine

func RunServer

func RunServer(server *gin.Engine, address ...string) error

Types

type FileData

type FileData struct {
	Name string
	Type string
}

type PageData

type PageData struct {
	Path  string
	Files []FileData
}

Jump to

Keyboard shortcuts

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