Documentation
¶
Index ¶
- func NewAssetHandler(assetsFS embed.FS, isDev bool) http.Handler
- func NewPageHandler(service *usecase.PageService, config core.PageConfig, manifest *core.Manifest, ...) http.Handler
- func NewPublicHandler(assetsFS embed.FS, next http.Handler, isDev bool) http.Handler
- type AssetHandler
- type PageHandler
- type PublicHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPageHandler ¶
Types ¶
type AssetHandler ¶
type AssetHandler struct {
// contains filtered or unexported fields
}
func (*AssetHandler) ServeHTTP ¶
func (h *AssetHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)
type PageHandler ¶
type PageHandler struct {
// contains filtered or unexported fields
}
func (*PageHandler) ServeHTTP ¶
func (h *PageHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)
type PublicHandler ¶
type PublicHandler struct {
// contains filtered or unexported fields
}
func (*PublicHandler) ServeHTTP ¶
func (h *PublicHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.