21 lines
323 B
Go
21 lines
323 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
|
||
|
}
|