service

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 7 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

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 (*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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL