Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SkeletonMetadata ¶
type SkeletonMetadata struct { }
SkeletonMetadata represents metadata for skeleton value.
type SkeletonMetadataDto ¶
type SkeletonMetadataDto struct { idxmap.NamedMappingEvent Metadata *SkeletonMetadata }
SkeletonMetadataDto represents an item sent through a watch channel.
type SkeletonMetadataIndex ¶
type SkeletonMetadataIndex interface { // LookupName looks up previously stored item identified by name in the mapping. LookupByName(name string) (metadata *SkeletonMetadata, exists bool) // WatchSkeletonMetadata allows to watch for changes in the mapping. WatchSkeletonMetadata(subscriber string, channel chan<- SkeletonMetadataDto) }
SkeletonMetadataIndex provides read-only access to mapping between skeleton values and their metadata.
type SkeletonMetadataIndexRW ¶
type SkeletonMetadataIndexRW interface { SkeletonMetadataIndex idxmap.NamedMappingRW }
SkeletonMetadataIndexRW is a mapping between skeleton values and their metadata.
func NewSkeletonIndex ¶
func NewSkeletonIndex(logger logging.Logger, title string) SkeletonMetadataIndexRW
NewSkeletonIndex creates new instance of skeletonMetadataIndex.
Click to show internal directories.
Click to hide internal directories.