grpc

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package grpc implements functions to expose project service endpoint using GRPC protocol.

Package grpc implements functions to expose edge-cluster service endpoint using GRPC protocol.

Package grpc implements functions to expose edge-cluster service endpoint using GRPC protocol.

Index

Constants

This section is empty.

Variables

View Source
var Live bool
View Source
var Ready bool

Functions

func NewTransportService

func NewTransportService(
	logger *zap.Logger,
	configurationService configuration.ConfigurationContract,
	endpointCreatorService endpoint.EndpointCreatorContract,
	middlewareProviderService middleware.MiddlewareProviderContract) (transport.TransportContract, error)

NewTransportService creates new instance of the transportService, setting up all dependencies and returns the instance logger: Mandatory. Reference to the logger service configurationService: Mandatory. Reference to the service that provides required configurations endpointCreatorService: Mandatory. Reference to the service that creates go-kit compatible endpoints middlewareProviderService: Mandatory. Reference to the service that provides different go-kit middlewares Returns the new service or error if something goes wrong

Types

This section is empty.

Jump to

Keyboard shortcuts

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