Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNameCannotBeBlank = errors.Wrap(errors.ErrBadRequest, "the customer name cannot be blank") ErrCustomerIDCannotBeBlank = errors.Wrap(errors.ErrBadRequest, "the customer id cannot be blank") ErrSmsNumberCannotBeBlank = errors.Wrap(errors.ErrBadRequest, "the SMS number cannot be blank") ErrCustomerAlreadyEnabled = errors.Wrap(errors.ErrBadRequest, "the customer is already enabled") ErrCustomerAlreadyDisabled = errors.Wrap(errors.ErrBadRequest, "the customer is already disabled") )
Functions ¶
This section is empty.
Types ¶
type Customer ¶
func RegisterCustomer ¶
Click to show internal directories.
Click to hide internal directories.