Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoggingMiddleware ¶
func LoggingMiddleware(logger log.Logger) endpoint.Middleware
LoggingMiddleware returns an endpoint middleware that logs the duration of each invocation, and the resulting error, if any.
func MakeGenerateEndpoint ¶
MakeGenerateEndpoint constructs a Generate endpoint wrapping the service.
func NewGRPCServer ¶
func NewGRPCServer(endpoints Set, logger log.Logger) qrcodev1.QRCodeAPIServer
NewGRPCServer makes a set of endpoints available as a gRPC AddServer.
Types ¶
Click to show internal directories.
Click to hide internal directories.