kyra/context.go

21 lines
342 B
Go

package tht
import "surdeus.su/core/xgo/xmodules/httpx"
import "surdeus.su/util/tht/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
Ext string
SourcePath string
}