Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( OkMessage = "success" ErrInvalidID = "invalid id" ErrInvalidJSON = "invalid json" ErrNotFound = "not found" ErrInternal = "internal error" ErrInvalidToken = "invalid token" )
Functions ¶
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func NewRouter ¶
func NewRouter( productApp app.ProductApplication, categoryApp app.CategoryApplication, authSvc grpc.AuthService) *Router
func (*Router) CreateCategory ¶
func (*Router) CreateProduct ¶
func (*Router) GetProduct ¶
func (*Router) UpdateProductDetail ¶
Click to show internal directories.
Click to hide internal directories.