Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Document ¶
type Document struct {
Name string `json:"name" yaml:"name"`
URI string `json:"uri" yaml:"uri"`
Content string `json:"content" yaml:"content"`
Description string `json:"description" yaml:"description"`
}
Document represents a Developer Knowledge API document.
type DocumentChunk ¶
type DocumentChunk struct {
Parent string `json:"parent" yaml:"parent"`
ID string `json:"id" yaml:"id"`
Content string `json:"content" yaml:"content"`
}
DocumentChunk represents a search result chunk.
type DocumentMeta ¶
type DocumentMeta struct {
Name string `yaml:"name"`
URI string `yaml:"uri"`
Description string `yaml:"description,omitempty"`
}
DocumentMeta holds non-content fields for frontmatter.
Click to show internal directories.
Click to hide internal directories.