order

package
v0.0.0-...-ba258ae Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 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.OrderServiceClient

func RegisterRoutes

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

Types

type ServiceClient

type ServiceClient struct {
	Client pb.OrderServiceClient
}

func (*ServiceClient) CreateOrder

func (svc *ServiceClient) CreateOrder(ctx *gin.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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