Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegistryIndex ¶
type RegistryIndex struct {
Extensions []Extension `json:"extensions"`
}
func Decode ¶
func Decode(reader io.Reader) (RegistryIndex, error)
Decode parses the content of the given reader and returns a RegistryIndex.
func (RegistryIndex) GetExtension ¶
func (i RegistryIndex) GetExtension(id string) (extension Extension, ok bool)
GetExtension returns the extension with the given ID and true or and empty extension and false.
func (RegistryIndex) GetExtensionIDs ¶
func (i RegistryIndex) GetExtensionIDs() []string
GetExtensionIDs returns the IDs of all extensions contained in this index.
Click to show internal directories.
Click to hide internal directories.