server

package
v1.1.1-preview Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HistoryMiddleware

func HistoryMiddleware(s services.Mocks) echo.MiddlewareFunc

func NewMockServer

func NewMockServer(cfg config.Config) (*http.Server, services.Mocks)

func Serve

func Serve(config config.Config)

Types

type TemplateRenderer

type TemplateRenderer struct {
	*template.Template
}

TemplateRenderer is a custom html/template renderer for Echo framework

func (*TemplateRenderer) Render

func (t *TemplateRenderer) Render(w io.Writer, name string, data interface{}, c echo.Context) error

Render renders a template document

Directories

Path Synopsis
Package frontend embeds the built web UI so a released binary is self-contained (no need to ship the client directory alongside it).
Package frontend embeds the built web UI so a released binary is self-contained (no need to ship the client directory alongside it).

Jump to

Keyboard shortcuts

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