server

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2025 License: MIT Imports: 13 Imported by: 0

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 EnabledServices

type EnabledServices struct {
	API     bool
	Indexer bool
	Reports bool
	Sync    bool
}

type TestServerCfg

type TestServerCfg struct {
	ContractsOptions config.ContractsOptions
	DB               *sql.DB
	Port             int
	PrivateKey       *ecdsa.PrivateKey
	Registry         r.NodeRegistry
	Services         EnabledServices
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL