Documentation ¶
Index ¶
- func DBForTests(t testing.TB, logger *zap.Logger) *gorm.DB
- func TestHelperNewReplicationService(ctx context.Context, t *testing.T, logger *zap.Logger, mn mocknet.Mocknet, ...) (*replicationService, ipfsutil.CoreAPIMock)
- func TestReplicateMessage(t *testing.T)
- type BertyOrbitDB
- type ReplicationClient
- type ReplicationService
- type TestingReplicationPeer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestReplicateMessage ¶ added in v2.455.0
Types ¶
type BertyOrbitDB ¶
type ReplicationClient ¶
type ReplicationClient interface { replicationtypes.ReplicationServiceClient Close() error }
type ReplicationService ¶
type ReplicationService interface { replicationtypes.ReplicationServiceServer Close() error }
func NewReplicationService ¶
func NewReplicationService(ctx context.Context, db *gorm.DB, odb BertyOrbitDB, logger *zap.Logger) (ReplicationService, error)
type TestingReplicationPeer ¶
type TestingReplicationPeer struct { CoreAPI ipfsutil.CoreAPIMock Service ReplicationService }
Click to show internal directories.
Click to hide internal directories.