context.go 404 B

1234567891011121314151617181920212223
  1. package kyra
  2. import httpx "surdeus.su/core/xgo/v2/stdlib/http"
  3. import "surdeus.su/util/kyra/mdx"
  4. // Context key type for internal usage.
  5. type CKey string
  6. const (
  7. KeyValues CKey = "values"
  8. )
  9. type ContextValues struct {
  10. Request *httpx.Request
  11. Global any
  12. Markdown *mdx.Markdown
  13. IsIndex bool
  14. IndexSuffix string
  15. PPExt string
  16. SourcePath string
  17. FPath string
  18. FExt string
  19. }