Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AdminServiceProvider = wire.NewSet( NewService, NewEmployeeService, )
Functions ¶
This section is empty.
Types ¶
type EmployeeService ¶
type EmployeeService interface { Register(ctx context.Context, req *model.EmployeeRegisterRequest) error Login(ctx context.Context, req *model.EmployeeLoginRequest) (resp *model.EmployeeLoginResponse, err error) FindByLoginName(ctx context.Context, loginName string) (employee *model.Employee, exists bool, err error) }
func NewEmployeeService ¶
func NewEmployeeService(service *Service, jwt *jwt.JWT) EmployeeService
Click to show internal directories.
Click to hide internal directories.