Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotFoundError ¶
type NotFoundError struct {
Err error
}
NotFoundError represents a document not found error.
func (NotFoundError) Unwrap ¶
func (e NotFoundError) Unwrap() error
Unwrap returns the underlying error.
type Pagination ¶
Pagination holds information for requesting page.
type Plugin ¶
type Plugin struct {
ID string `json:"id,omitempty" bson:"id"`
Name string `json:"name,omitempty" bson:"name"`
DisplayName string `json:"displayName,omitempty" bson:"displayName"`
Runtime string `json:"runtime,omitempty" bson:"runtime"`
WasmPath string `json:"wasmPath,omitempty" bson:"wasmPath"`
Author string `json:"author,omitempty" bson:"author"`
Type string `json:"type,omitempty" bson:"type"`
Import string `json:"import,omitempty" bson:"import"`
Compatibility string `json:"compatibility,omitempty" bson:"compatibility"`
Summary string `json:"summary,omitempty" bson:"summary"`
IconURL string `json:"iconUrl,omitempty" bson:"iconUrl"`
BannerURL string `json:"bannerUrl,omitempty" bson:"bannerUrl"`
Readme string `json:"readme,omitempty" bson:"readme"`
LatestVersion string `json:"latestVersion,omitempty" bson:"latestVersion"`
Versions []string `json:"versions,omitempty" bson:"versions"`
Stars int `json:"stars,omitempty" bson:"stars"`
Snippet map[string]interface{} `json:"snippet,omitempty" bson:"snippet"`
CreatedAt time.Time `json:"createdAt" bson:"createdAt"`
Disabled bool `json:"disabled,omitempty" bson:"disabled"`
Hidden bool `json:"hidden,omitempty" bson:"hidden"`
}
Plugin The plugin information.
type PluginHash ¶
type PluginHash struct {
Name string `json:"name,omitempty" bson:"name"`
Hash string `json:"hash,omitempty" bson:"hash"`
}
PluginHash The plugin hash tuple.
Click to show internal directories.
Click to hide internal directories.