package
Version:
v0.0.4
Opens a new window with list of versions in this module.
Published: Jun 23, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Handler interface {
Serve(ctx *gin.Context)
}
Handler defines methods for the SPA (Vue) to interact with the server.
SPA defines the handler for all SPA routes.
New
Creates a new spa handler.
Serve
Serve all of the administrator & operator assets and serve the
file extension based on the content type.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.