server

package
v0.0.0-...-c43c9c4 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(c *config.Config)

Types

type TemplRender

type TemplRender struct {
	Code int
	Data templ.Component
}

func (*TemplRender) Instance

func (t *TemplRender) Instance(name string, data interface{}) render.Render

func (TemplRender) Render

func (t TemplRender) Render(w http.ResponseWriter) error

func (TemplRender) WriteContentType

func (t TemplRender) WriteContentType(w http.ResponseWriter)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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