persistent

package
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL