grpc

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

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

Package grpc implements functions to expose tenant 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