Documentation ¶ Index ¶ type Handler func New(store storage.Storage, fileName string, defaultContent []byte, ...) (*Handler, error) func (h *Handler) GetContent() ([]byte, error) func (h *Handler) GetPath() string func (h *Handler) RegisterHandlers(g *echo.Group) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Handler ¶ type Handler struct { // contains filtered or unexported fields } func New ¶ func New(store storage.Storage, fileName string, defaultContent []byte, sanitize func([]byte) ([]byte, error)) (*Handler, error) func (*Handler) GetContent ¶ func (h *Handler) GetContent() ([]byte, error) func (*Handler) GetPath ¶ func (h *Handler) GetPath() string func (*Handler) RegisterHandlers ¶ func (h *Handler) RegisterHandlers(g *echo.Group) Source Files ¶ View all Source files persistent.go Click to show internal directories. Click to hide internal directories.