Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheInterface ¶ added in v0.9.0
type CacheInterface interface { Has(key string) bool Set(key string, value any, expireSeconds int) error Get(key string) (any, error) Delete(key string) }
func Cache ¶ added in v0.9.0
func Cache() CacheInterface
type Config ¶
type Config struct { BlockEditorRenderer func(blocks []ui.BlockInterface) string Logger *slog.Logger Shortcodes []cmsstore.ShortcodeInterface Store cmsstore.StoreInterface CacheEnabled bool CacheExpireSeconds int }
type FrontendInterface ¶ added in v0.12.0
type FrontendInterface interface { Handler(w http.ResponseWriter, r *http.Request) StringHandler(w http.ResponseWriter, r *http.Request) string }
func New ¶
func New(config Config) FrontendInterface
type LanguageKey ¶
type LanguageKey struct{}
Click to show internal directories.
Click to hide internal directories.