Documentation ¶
Index ¶
- type Key
- type RegistrationKey
- func (k RegistrationKey) GetArtifactType() string
- func (k RegistrationKey) GetMediaType() string
- func (k RegistrationKey) IsValid() bool
- func (k RegistrationKey) Key() RegistrationKey
- func (k RegistrationKey) SetArtifact(arttype, medtatype string) RegistrationKey
- func (k RegistrationKey) String() string
- type Registry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegistrationKey ¶
type RegistrationKey struct { ArtifactType string `json:"artifactType"` MediaType string `json:"mediaType"` }
func (RegistrationKey) GetArtifactType ¶
func (k RegistrationKey) GetArtifactType() string
func (RegistrationKey) GetMediaType ¶
func (k RegistrationKey) GetMediaType() string
func (RegistrationKey) IsValid ¶
func (k RegistrationKey) IsValid() bool
func (RegistrationKey) Key ¶
func (k RegistrationKey) Key() RegistrationKey
func (RegistrationKey) SetArtifact ¶
func (k RegistrationKey) SetArtifact(arttype, medtatype string) RegistrationKey
func (RegistrationKey) String ¶
func (k RegistrationKey) String() string
type Registry ¶
func NewRegistry ¶
func (*Registry[H, K]) GetHandler ¶
func (p *Registry[H, K]) GetHandler(key K) []H
func (*Registry[H, K]) LookupHandler ¶
func (p *Registry[H, K]) LookupHandler(key K) []H
func (*Registry[H, K]) LookupKeys ¶
Click to show internal directories.
Click to hide internal directories.