server

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartMockDAServGRPC

func StartMockDAServGRPC(listenAddress string) *grpc.Server

StartMockDAServGRPC starts a mock gRPC server with the given listenAddress.

The server uses a test.NewDummyDA() as the service implementation and insecure credentials. The function returns the created server instance.

func StartMockDAServJSONRPC

func StartMockDAServJSONRPC(ctx context.Context, listenAddress string) *jsonrpc.Server

StartMockDAServJSONRPC starts a mock JSON-RPC server with the given listenAddress.

The server uses a test.NewDummyDA() as the service implementation. The function returns the created server instance.

func StartMockSequencerServerGRPC added in v0.14.0

func StartMockSequencerServerGRPC(listenAddress string) *grpc.Server

StartMockSequencerServerGRPC starts a mock gRPC server with the given listenAddress.

Types

This section is empty.

Jump to

Keyboard shortcuts

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