Categorygithub.com/PerformLine/diecast
modulepackage
1.23.3
Repository: https://github.com/performline/diecast.git
Documentation: pkg.go.dev

# README

GoDoc

tl;dr

Diecast is an all-in-one program that lets you build websites using conventional web programming tools (HTML, JavaScript, CSS/Sass) as well as a rich templating framework for handling complex tasks server-side. A key feature is the use of data bindings, which allows your templates to consume remote content (RESTful APIs, Redis, and more). This declarative approach eliminates many of the ambiguities that regularly appear in conventional MVC/server-side frameworks.

Introduction

Diecast is a web server that allows you to render a directory tree of template files into HTML, CSS or anything other text-based media in real-time. Data can be retrieved from remote sources during the template rendering process, creating dynamic web pages built by consuming APIs and remote files without the need to use client-side Javascript/AJAX calls or an intermediate server framework.

Documentation

You can read the complete Diecast manual at https://ghetzel.github.io/diecast.

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
Dir returns a http.Filesystem for the embedded assets on a given prefix dir.
No description provided by the author
FS returns a http.Filesystem for the embedded assets.
FSByte returns the named file from the embedded assets.
FSMustByte is the same as FSByte, but panics if name is not present.
FSMustString is the string version of FSMustByte.
FSString is the string version of FSByte.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Register a performable step type to the given type name.
Registers a new named format for log output.
No description provided by the author
Register a new protocol handler that will handle URLs with the given scheme.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
if you need more case permutations than this, you may override this default.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A FileMount exposes the contents of a given filesystem directory.
No description provided by the author
The HTTP binding protocol is used to interact with web servers and RESTful APIs.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
[type=process] Process the output of the previous step by performing a sequence of discrete operations on the data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The Redis binding protocol is used to retrieve or modify items in a Redis server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
[type=respond] Configure the HTTP response headers and status.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
[type=shell] Return the output of a command as a response.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A function that receives the current request, ResponseWriter, and returns whether to call the next middleware in the stack (true) or to stop processing the request immediately (false).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author