Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StaticHandler ¶
StaticHandler creates a net/http handler using the shared static logic Compatible with standard library mux, gorilla mux, and fasthttp (via adapter)
func StaticHandlerFunc ¶
func StaticHandlerFunc(assets embed.FS, config goflux.StaticConfig) http.HandlerFunc
StaticHandlerFunc creates a net/http HandlerFunc using the shared static logic Alternative function signature for cases where HandlerFunc is preferred
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.