Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheControlMiddleware ¶
func CacheControlMiddleware(next echo.HandlerFunc) echo.HandlerFunc
CacheControlMiddleware adds Cache-Control headers to static assets so that browsers can cache them for subsequent requests. Note that this should only be used on unique filenames such as those generated by the build process.
func ViteHandler ¶
func ViteHandler(prefix string) echo.HandlerFunc
Types ¶
type CustomLink ¶
type CustomLinksCollection ¶
type CustomLinksCollection struct { Nodes []CustomLink Environments []CustomLink // Unused, but maybe in the future Roles []CustomLink // Unused, but maybe in the future DataBags []CustomLink // Unused, but maybe in the future }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) BuildCustomLinks ¶
BuildCustomLinks returns a map of custom links to be displayed in the UI
func (*Service) RegisterRoutes ¶
func (s *Service) RegisterRoutes()
type Vite ¶
type Vite struct { HTMLTags string // contains filtered or unexported fields }
func NewVite ¶
func NewVite(cfg ViteConfig) (*Vite, error)
type ViteConfig ¶
type ViteManifest ¶
type ViteManifest struct {
Files map[string]viteItem
}
Click to show internal directories.
Click to hide internal directories.