Documentation
¶
Index ¶
- type InMemoryKindMapper
- func (s *InMemoryKindMapper) AssertKinds(ctx context.Context, kinds graph.Kinds) ([]int16, error)
- func (s *InMemoryKindMapper) MapKind(ctx context.Context, kind graph.Kind) (int16, error)
- func (s *InMemoryKindMapper) MapKindID(ctx context.Context, kindID int16) (graph.Kind, error)
- func (s *InMemoryKindMapper) MapKindIDs(ctx context.Context, kindIDs []int16) (graph.Kinds, error)
- func (s *InMemoryKindMapper) MapKinds(ctx context.Context, kinds graph.Kinds) ([]int16, error)
- func (s *InMemoryKindMapper) Put(kind graph.Kind) int16
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryKindMapper ¶
func NewInMemoryKindMapper ¶
func NewInMemoryKindMapper() *InMemoryKindMapper
func (*InMemoryKindMapper) AssertKinds ¶
func (*InMemoryKindMapper) MapKindIDs ¶
Click to show internal directories.
Click to hide internal directories.