Documentation ¶
Index ¶
- func AddPprofHandlers(server *echo.Echo)
- func NewPProfHandler(handler http.HandlerFunc) echo.HandlerFunc
- func NewZeroLogger(cfg *viper.Viper, logger zerolog.Logger) echo.MiddlewareFunc
- func PongoFilterFileSize(in *pongo2.Value, param *pongo2.Value) (*pongo2.Value, *pongo2.Error)
- func PongoFilterTrimSpace(in *pongo2.Value, param *pongo2.Value) (*pongo2.Value, *pongo2.Error)
- type PongoRenderer
- type PongoRendererCfg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPprofHandlers ¶
func AddPprofHandlers(server *echo.Echo)
func NewPProfHandler ¶
func NewPProfHandler(handler http.HandlerFunc) echo.HandlerFunc
func NewZeroLogger ¶
func PongoFilterFileSize ¶
Types ¶
type PongoRenderer ¶
type PongoRenderer struct {
// contains filtered or unexported fields
}
func NewPongoRenderer ¶
func NewPongoRenderer( cfg PongoRendererCfg, data map[string]interface{}, filters map[string]pongo2.FilterFunction, ) (*PongoRenderer, error)
type PongoRendererCfg ¶
Click to show internal directories.
Click to hide internal directories.