Documentation
¶
Overview ¶
Package server implements the replication server test utils.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestReplicationServer ¶ added in v0.5.1
func NewTestReplicationServer( t *testing.T, cfg TestServerCfg, ) *s.ReplicationServer
Types ¶
type EnabledServices ¶
type TestServerCfg ¶
type TestServerCfg struct {
GRPCListener net.Listener
HTTPListener net.Listener
DB *sql.DB
Registry r.NodeRegistry
PrivateKey *ecdsa.PrivateKey
ContractsOptions config.ContractsOptions
Services EnabledServices
}
Click to show internal directories.
Click to hide internal directories.