view

package
v0.0.0-...-71617dc Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Files embed.FS

Functions

func Init

func Init()

Types

type Input

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

func Prepare

func Prepare(resw http.ResponseWriter, req *http.Request, db *repo.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