server

package
v0.0.0-...-42d6aa1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Copyright (c) 2023 Tiago Melo. All rights reserved. Use of this source code is governed by the MIT License that can be found in the LICENSE file.

Package server implements the gRPC server for the product catalog service. It provides functions to handle CRUD operations for products.

The server package is responsible for setting up the gRPC server, registering the product catalog service, and routing incoming gRPC requests to the corresponding functions in the product package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(db *store.MongoDb) *server

New creates a new instance of the server with the provided database client. It sets up the gRPC server, registers the product catalog service, and initializes reflection for gRPC server debugging.

Types

This section is empty.

Jump to

Keyboard shortcuts

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