package
Version:
v0.0.6
Opens a new window with list of versions in this module.
Published: Aug 15, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package subtype contains a Service type that can be used to hold all resources of a certain subtype.
type Service interface {
Resource(name string) interface{}
Replace(resources map[resource.Name]interface{}) error
}
Service defines an service that holds and replaces resources.
New creates a new subtype service, which holds and replaces resources belonging to that subtype.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.