kyra/context.go

22 lines
342 B
Go
Raw Permalink Normal View History

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
}