Documentation ¶
Index ¶
- Variables
- type AdministratorService
- func (s *AdministratorService) AdministratorLoginSuccess(ctx context.Context, req *v1.AdministratorLoginSuccessReq) (*emptypb.Empty, error)
- func (s *AdministratorService) AdministratorStatusChange(ctx context.Context, req *v1.AdministratorStatusChangeReq) (*emptypb.Empty, error)
- func (s *AdministratorService) CreateAdministrator(ctx context.Context, req *v1.CreateAdministratorReq) (*v1.Administrator, error)
- func (s *AdministratorService) DeleteAdministrator(ctx context.Context, req *v1.DeleteAdministratorReq) (*emptypb.Empty, error)
- func (s *AdministratorService) GetAdministrator(ctx context.Context, req *v1.GetAdministratorReq) (*v1.Administrator, error)
- func (s *AdministratorService) GetAdministratorList(ctx context.Context, reqData *v1.GetAdministratorListReq) (*v1.GetAdministratorListPageRes, error)
- func (s *AdministratorService) RecoverAdministrator(ctx context.Context, req *v1.RecoverAdministratorReq) (*emptypb.Empty, error)
- func (s *AdministratorService) UpdateAdministrator(ctx context.Context, req *v1.UpdateAdministratorReq) (*emptypb.Empty, error)
- func (s *AdministratorService) VerifyAdministratorPassword(ctx context.Context, req *v1.VerifyAdministratorPasswordReq) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewAdministratorService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type AdministratorService ¶
type AdministratorService struct { v1.UnimplementedAdministratorServiceServer // contains filtered or unexported fields }
func NewAdministratorService ¶
func NewAdministratorService(administratorUsecase *biz.AdministratorUsecase, logger log.Logger) *AdministratorService
func (*AdministratorService) AdministratorLoginSuccess ¶
func (s *AdministratorService) AdministratorLoginSuccess(ctx context.Context, req *v1.AdministratorLoginSuccessReq) (*emptypb.Empty, error)
func (*AdministratorService) AdministratorStatusChange ¶
func (s *AdministratorService) AdministratorStatusChange(ctx context.Context, req *v1.AdministratorStatusChangeReq) (*emptypb.Empty, error)
func (*AdministratorService) CreateAdministrator ¶
func (s *AdministratorService) CreateAdministrator(ctx context.Context, req *v1.CreateAdministratorReq) (*v1.Administrator, error)
func (*AdministratorService) DeleteAdministrator ¶
func (s *AdministratorService) DeleteAdministrator(ctx context.Context, req *v1.DeleteAdministratorReq) (*emptypb.Empty, error)
func (*AdministratorService) GetAdministrator ¶
func (s *AdministratorService) GetAdministrator(ctx context.Context, req *v1.GetAdministratorReq) (*v1.Administrator, error)
func (*AdministratorService) GetAdministratorList ¶
func (s *AdministratorService) GetAdministratorList(ctx context.Context, reqData *v1.GetAdministratorListReq) (*v1.GetAdministratorListPageRes, error)
func (*AdministratorService) RecoverAdministrator ¶
func (s *AdministratorService) RecoverAdministrator(ctx context.Context, req *v1.RecoverAdministratorReq) (*emptypb.Empty, error)
func (*AdministratorService) UpdateAdministrator ¶
func (s *AdministratorService) UpdateAdministrator(ctx context.Context, req *v1.UpdateAdministratorReq) (*emptypb.Empty, error)
func (*AdministratorService) VerifyAdministratorPassword ¶
func (s *AdministratorService) VerifyAdministratorPassword(ctx context.Context, req *v1.VerifyAdministratorPasswordReq) (*emptypb.Empty, error)
Click to show internal directories.
Click to hide internal directories.