src

package
v0.0.0-...-3db17e8 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIngredient

func CreateIngredient(ctx context.Context, mongoClient *mongo.Client, protoBytes []byte) error

func CreateMeal

func CreateMeal(ctx context.Context, mongoClient *mongo.Client, protoBytes []byte) error

func CreateRecipe

func CreateRecipe(ctx context.Context, mongoClient *mongo.Client, protoBytes []byte) error

func DeleteIngredient

func DeleteIngredient(ctx context.Context, mongoClient *mongo.Client, protoBytes []byte) error

func DeleteMeal

func DeleteMeal(ctx context.Context, mongoClient *mongo.Client, protoBytes []byte) error

func DeleteRecipe

func DeleteRecipe(ctx context.Context, mongoClient *mongo.Client, protoBytes []byte) error

func InitConsumer

func InitConsumer(ctx context.Context) error

func ProcessIngredientOperation

func ProcessIngredientOperation(ctx context.Context, mongoClient *mongo.Client, item amqp.Delivery) error

func ProcessMealOperation

func ProcessMealOperation(ctx context.Context, mongoClient *mongo.Client, item amqp.Delivery) error

func ProcessRecipeOperation

func ProcessRecipeOperation(ctx context.Context, mongoClient *mongo.Client, item amqp.Delivery) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL