Documentation ¶
Overview ¶
Package grpc implements functions to expose project service endpoint using GRPC protocol.
Package grpc implements functions to expose project service endpoint using GRPC protocol.
Package grpc implements functions to expose project service endpoint using GRPC protocol.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Live bool
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.