kyra/context.go
2024-08-02 20:30:32 +05:00

23 lines
404 B
Go

package kyra
import httpx "surdeus.su/core/xgo/v2/stdlib/http"
import "surdeus.su/util/kyra/mdx"
// Context key type for internal usage.
type CKey string
const (
KeyValues CKey = "values"
)
type ContextValues struct {
Request *httpx.Request
Global any
Markdown *mdx.Markdown
IsIndex bool
IndexSuffix string
PPExt string
SourcePath string
FPath string
FExt string
}