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 { frameless.Creator[Ent] frameless.Finder[Ent, ID] frameless.Updater[Ent] frameless.Deleter[ID] frameless.CreatorPublisher[Ent] frameless.UpdaterPublisher[Ent] frameless.DeleterPublisher[ID] }
type EntityStorage ¶
type EntityStorage[Ent, ID any] struct { Subject func(testing.TB) (cache.EntityStorage[Ent, ID], frameless.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 ¶ added in v0.63.0
func (c Manager[Ent, ID]) ManagerSubject() testcase.Var[ManagerSubject[Ent, ID]]
type ManagerSubject ¶ added in v0.63.0
type SpySource ¶ added in v0.63.0
Click to show internal directories.
Click to hide internal directories.