product

package
v0.0.0-...-1db292b Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitServiceClient

func InitServiceClient(c *config.Config) pb.ProductServiceClient

func RegisterRoutes

func RegisterRoutes(r *gin.Engine, c *config.Config, authSvc *auth.ServiceClient)

Types

type ServiceClient

type ServiceClient struct {
	Client pb.ProductServiceClient
}

func (*ServiceClient) CreateProduct

func (s *ServiceClient) CreateProduct(ctx *gin.Context)

func (*ServiceClient) FindOne

func (s *ServiceClient) FindOne(ctx *gin.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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