Documentation
¶
Index ¶
Constants ¶
View Source
const ( TopicRecipesNew = "recipes.new" TopicRecipesReq = "recipes.req" TopicRecipes = "recipes" TopicNutritionFacts = "nutritionfacts" )
View Source
const (
KeyCorrelationID = "correlation_id"
)
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(recipeService service.Service, kafkaBrokerURLs string) (controller.Controller, error)
Types ¶
type AddRecipeWorker ¶
type AddRecipeWorker struct {
// contains filtered or unexported fields
}
func (AddRecipeWorker) Stop ¶
func (w AddRecipeWorker) Stop() error
type FindRecipesWorker ¶
type FindRecipesWorker struct {
// contains filtered or unexported fields
}
func (FindRecipesWorker) Stop ¶
func (w FindRecipesWorker) Stop() error
type RecipeNutritionFactsWorker ¶
type RecipeNutritionFactsWorker struct {
// contains filtered or unexported fields
}
func (RecipeNutritionFactsWorker) Process ¶
func (w RecipeNutritionFactsWorker) Process(ctx context.Context) error
func (RecipeNutritionFactsWorker) Stop ¶
func (w RecipeNutritionFactsWorker) Stop() error
Click to show internal directories.
Click to hide internal directories.