Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CSPMiddleware ¶
func CSPMiddleware(next echo.HandlerFunc) echo.HandlerFunc
func StaticAssetsCacheControlMiddleware ¶
func StaticAssetsCacheControlMiddleware(next echo.HandlerFunc) echo.HandlerFunc
func StaticPageCacheControlMiddleware ¶
func StaticPageCacheControlMiddleware(next echo.HandlerFunc) echo.HandlerFunc
Types ¶
type InstanceSingleton ¶
type InstanceSingleton struct {
// contains filtered or unexported fields
}
func CreateEchoInstance ¶
func CreateEchoInstance(config config.ServerConfig) *InstanceSingleton
func GetEchoSingleton ¶
func GetEchoSingleton() *InstanceSingleton
func (*InstanceSingleton) Start ¶
func (i *InstanceSingleton) Start() error
func (*InstanceSingleton) WithConfig ¶
func (i *InstanceSingleton) WithConfig(config config.ServerConfig) *InstanceSingleton
Click to show internal directories.
Click to hide internal directories.