Documentation
¶
Index ¶
- type MyService
- type Service
- func (s *Service) DeleteEmployee(ctx context.Context, ID string) error
- func (s *Service) GetEmployeeDetails(ctx context.Context, ID string) (*pb.Employee, error)
- func (s *Service) RegisterEmployee(ctx context.Context, employee pb.Employee) (string, error)
- func (s *Service) UpdateEmail(ctx context.Context, ID, email string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyService ¶
type MyService interface { RegisterEmployee() UpdateEmail() GetEmployeeDetails() DeleteEmployee() }
MyService - ...
type Service ¶
type Service struct {
MyService
}
Service - ...
func (*Service) DeleteEmployee ¶
DeleteEmployee -...
func (*Service) GetEmployeeDetails ¶
GetEmployeeDetails -...
func (*Service) RegisterEmployee ¶
RegisterEmployee -...
Click to show internal directories.
Click to hide internal directories.