web

package
v0.0.0-...-3fa0160 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 4 Imported by: 0

README

WebApp

The web package contains a frontend application that can be embeded into the Go application, however, in theory, it can also be decoupled from the service binary and be served by a CDN.

About the frontend application

The code of the frontend application can be found under the app/ directory: it is built with Typescript, React and TailwindCSS; it also uses Vite.js for quick development iterations. As of now the code does not do anything, it is just a frontend integration withing a Go application.

The frontend application is served through an embed file system by the go application, use the command go generate -v ./... in this directory to create a distribuable version of the application.

References

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler() http.Handler

Handler returns an http.Handler that serves the web application

Types

This section is empty.

Jump to

Keyboard shortcuts

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