view

package
v0.0.0-...-2936c6c Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(files embed.FS, link string)

Types

type Input

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

func Prepare

func Prepare(resw http.ResponseWriter, req *http.Request, conn *db.DB) *Input

func (*Input) Error

func (i *Input) Error(fileName string, status int, message string)

func (*Input) Full

func (i *Input) Full(fileName string, status int, content any)

func (*Input) InternalServerError

func (i *Input) InternalServerError()

func (*Input) NotFound

func (i *Input) NotFound()

func (*Input) Partial

func (i *Input) Partial(fileName string, status int)

func (*Input) Unauthorized

func (i *Input) Unauthorized()

Jump to

Keyboard shortcuts

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