# grpc

import "command-line-arguments"

# Index

  • func StartFaucetServer(grpcPort int, metricsPort int, twitterClient *twitter.Client, ethClient *ethclient.Client, privateKey *ecdsa.PrivateKey, publicKey *ecdsa.PublicKey, dripConfig *faucet.DripConfig, logger *zap.Logger)
  • func StartRelayServer(grpcPort int, metricsPort int, ethClient *ethclient.Client, config *relay.RelayServerConfig, logger *zap.Logger)
  • func StartSnapshotServer(grpcPort int, metricsPort int, config *snapshot.SnapshotServerConfig, logger *zap.Logger)
  • func StartStreamServer(grpcPort int, metricsPort int, ethclient *ethclient.Client, multiplexer *multiplexer.Multiplexer, logger *zap.Logger)

# func StartFaucetServer

func StartFaucetServer(grpcPort int, metricsPort int, twitterClient *twitter.Client, ethClient *ethclient.Client, privateKey *ecdsa.PrivateKey, publicKey *ecdsa.PublicKey, dripConfig *faucet.DripConfig, logger *zap.Logger)

# func StartRelayServer

func StartRelayServer(grpcPort int, metricsPort int, ethClient *ethclient.Client, config *relay.RelayServerConfig, logger *zap.Logger)

# func StartSnapshotServer

func StartSnapshotServer(grpcPort int, metricsPort int, config *snapshot.SnapshotServerConfig, logger *zap.Logger)

StartStreamServer starts a gRPC server and a HTTP web-gRPC server wrapper for an ECS snapshot service. The gRPC server is started at port and HTTP server at port + 1.

# func StartStreamServer

func StartStreamServer(grpcPort int, metricsPort int, ethclient *ethclient.Client, multiplexer *multiplexer.Multiplexer, logger *zap.Logger)

StartStreamServer starts a gRPC server and a HTTP web-gRPC server wrapper for an ECS stream service. The gRPC server is started at port and HTTP server at port + 1.

Generated by gomarkdoc