All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.golang.service.select.template Maven / Gradle / Ivy

func Execute@title@(ctx context.Context, request *fs.@service_request@) *fs.@service_response@ {

	var err error
	defer metrics.Metrics.PushToSummarytMetrics()(metrics.@title@_Metrics,"@title@",&err,ctx)
	logger.Info("Serving @title@ request", zap.Any("request", request))

	onRequestResponse := hook.@[email protected](ctx, request)
    if onRequestResponse != nil {
        response := onRequestResponse
        logger.Info("Skipping Execute@title@ request", zap.Any("request", request))
        return response
    }

	@servicegrpc_select@

	logger.Info("Execute@title@ request served successfully!", zap.Any("request", request))
	return @return_response@
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy