Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitCustomerService ¶
func InitCustomerService(collection *mongo.Collection, ctx context.Context) netxd_grpc_mongo_interfaces.ICustomer
Types ¶
type CustomerService ¶
type CustomerService struct { CustomerCollection *mongo.Collection // contains filtered or unexported fields }
func (*CustomerService) CreateCustomer ¶
func (cus *CustomerService) CreateCustomer(customer *netxd_grpc_mongo_models.Customer) (*netxd_grpc_mongo_models.CustomerResponse, error)
CreateCustomer implements netxd_dal_interfaces.ICustomer.
Click to show internal directories.
Click to hide internal directories.