Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache[Ent, ID any] interface { crud.Creator[Ent] crud.Finder[Ent, ID] crud.Updater[Ent] crud.Deleter[ID] pubsub.CreatorPublisher[Ent] pubsub.UpdaterPublisher[Ent] pubsub.DeleterPublisher[ID] }
type EntityStorage ¶
type EntityStorage[Ent, ID any] struct { Subject func(testing.TB) (cache.EntityStorage[Ent, ID], comproto.OnePhaseCommitProtocol) MakeCtx func(testing.TB) context.Context MakeEnt func(testing.TB) Ent }
func (EntityStorage[Ent, ID]) Benchmark ¶
func (c EntityStorage[Ent, ID]) Benchmark(b *testing.B)
func (EntityStorage[Ent, ID]) Spec ¶
func (c EntityStorage[Ent, ID]) Spec(s *testcase.Spec)
func (EntityStorage[Ent, ID]) Test ¶
func (c EntityStorage[Ent, ID]) Test(t *testing.T)
type Manager ¶
type Manager[Ent, ID any] struct { Subject func(testing.TB) ManagerSubject[Ent, ID] MakeCtx func(testing.TB) context.Context MakeEnt func(testing.TB) Ent }
func (Manager[Ent, ID]) ManagerSubject ¶
func (c Manager[Ent, ID]) ManagerSubject() testcase.Var[ManagerSubject[Ent, ID]]
type ManagerSubject ¶
type SpySource ¶
Click to show internal directories.
Click to hide internal directories.