server

package
v0.13.7 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 8 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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