Documentation ¶
Index ¶
- Constants
- type Service
- func (s Service) Create(ctx context.Context, r *ppb.CreateUpdateCustomerRequest) (*pb.Customer, error)
- func (s Service) Delete(ctx context.Context, r *ppb.OneCustomerRequest) (*types.Empty, error)
- func (s Service) Get(ctx context.Context, r *ppb.OneCustomerRequest) (*pb.Customer, error)
- func (s Service) List(ctx context.Context, r *ppb.ListCustomerRequest) (*ppb.ListCustomerResponse, error)
- func (s Service) Update(ctx context.Context, r *ppb.CreateUpdateCustomerRequest) (*pb.Customer, error)
Constants ¶
View Source
const ( StatusActive = "active" StatusInactive = "inactive" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.