Documentation
¶
Overview ¶
Package server implements the replication server test utils.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestBaseServer ¶ added in v1.0.0
func NewTestBaseServer( t *testing.T, cfg TestServerCfg, ) *s.BaseServer
Types ¶
type TestServerCfg ¶
type TestServerCfg struct {
ContractsOptions *config.ContractsOptions
DB *sql.DB
Port int
PrivateKey *ecdsa.PrivateKey
Registry r.NodeRegistry
Services EnabledServices
}
Click to show internal directories.
Click to hide internal directories.