2024-06-12 22:02:26 +03:00
|
|
|
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
|
2024-06-14 21:53:29 +03:00
|
|
|
SourcePath string
|
2024-06-12 22:02:26 +03:00
|
|
|
}
|