Documentation
¶
Index ¶
- func JSONSchemaTable(schemata metaschema.SchemaTestFiles, showContent bool) string
- func RenderExtra(as *app.State, sch *jsonschema.Schema, result any, ps *cutil.PageState) string
- func RenderResult(baseURL string, x any, sch *jsonschema.Schema, oldResult any, ...) string
- func StreamJSONSchemaTable(qw422016 *qt422016.Writer, schemata metaschema.SchemaTestFiles, ...)
- func StreamRenderExtra(qw422016 *qt422016.Writer, as *app.State, sch *jsonschema.Schema, result any, ...)
- func StreamRenderResult(qw422016 *qt422016.Writer, baseURL string, x any, sch *jsonschema.Schema, ...)
- func WriteJSONSchemaTable(qq422016 qtio422016.Writer, schemata metaschema.SchemaTestFiles, ...)
- func WriteRenderExtra(qq422016 qtio422016.Writer, as *app.State, sch *jsonschema.Schema, result any, ...)
- func WriteRenderResult(qq422016 qtio422016.Writer, baseURL string, x any, sch *jsonschema.Schema, ...)
- type CollectionDetail
- type EnumDetail
- type ModelDetail
- type SchemaDetail
- type SchemaList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONSchemaTable ¶
func JSONSchemaTable(schemata metaschema.SchemaTestFiles, showContent bool) string
func RenderExtra ¶
func RenderResult ¶
func StreamJSONSchemaTable ¶
func StreamJSONSchemaTable(qw422016 *qt422016.Writer, schemata metaschema.SchemaTestFiles, showContent bool)
func StreamRenderExtra ¶
func StreamRenderResult ¶
func WriteJSONSchemaTable ¶
func WriteJSONSchemaTable(qq422016 qtio422016.Writer, schemata metaschema.SchemaTestFiles, showContent bool)
func WriteRenderExtra ¶
func WriteRenderExtra(qq422016 qtio422016.Writer, as *app.State, sch *jsonschema.Schema, result any, ps *cutil.PageState)
Types ¶
type CollectionDetail ¶
type CollectionDetail struct {
layout.Basic
BaseURL string
Args *metamodel.Args
Collection *jsonschema.Collection
OldResults *metamodel.Args
NewResults *metamodel.Args
}
func (*CollectionDetail) StreamBody ¶
func (*CollectionDetail) WriteBody ¶
func (p *CollectionDetail) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)
type EnumDetail ¶
type EnumDetail struct {
layout.Basic
BaseURL string
Enum *enum.Enum
Collection *jsonschema.Collection
Result *enum.Enum
}
func (*EnumDetail) StreamBody ¶
func (*EnumDetail) WriteBody ¶
func (p *EnumDetail) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)
type ModelDetail ¶
type ModelDetail struct {
layout.Basic
BaseURL string
Model *model.Model
Collection *jsonschema.Collection
Result *model.Model
}
func (*ModelDetail) StreamBody ¶
func (*ModelDetail) WriteBody ¶
func (p *ModelDetail) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)
type SchemaDetail ¶
type SchemaDetail struct {
layout.Basic
Schema *metaschema.SchemaTestFile
ShowContent bool
}
func (*SchemaDetail) StreamBody ¶
func (*SchemaDetail) WriteBody ¶
func (p *SchemaDetail) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)
type SchemaList ¶
type SchemaList struct {
layout.Basic
Schemata metaschema.SchemaTestFiles
ShowContent bool
}
func (*SchemaList) StreamBody ¶
func (*SchemaList) WriteBody ¶
func (p *SchemaList) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)
Click to show internal directories.
Click to hide internal directories.