Documentation ¶
Index ¶
- Variables
- func NewEngine(config config.HTTP) *gin.Engine
- type Router
- func (r *Router) GetCustomerDeliveryInfo(c *gin.Context)
- func (r *Router) GetCustomerPersonalInfo(c *gin.Context)
- func (r *Router) Login(c *gin.Context)
- func (r *Router) RefreshToken(c *gin.Context)
- func (r *Router) Register(c *gin.Context)
- func (r *Router) UpdateCustomerDeliveryInfo(c *gin.Context)
- func (r *Router) UpdateCustomerPersonalInfo(c *gin.Context)
- type Server
Constants ¶
This section is empty.
Variables ¶
View Source
var ( OkMessage = "success" ErrInvalidJSON = "invalid json" ErrInternal = "internal error" )
Functions ¶
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func NewRouter ¶
func NewRouter(authSvc app.AuthService, customerSvc app.CustomerService) *Router
func (*Router) GetCustomerDeliveryInfo ¶
func (*Router) GetCustomerPersonalInfo ¶
func (*Router) RefreshToken ¶
func (*Router) UpdateCustomerDeliveryInfo ¶
func (*Router) UpdateCustomerPersonalInfo ¶
Click to show internal directories.
Click to hide internal directories.