service

package
v0.0.0-...-a3cb3ec Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

This section is empty.

Types

type GrpcService

type GrpcService struct {
	v1.UnimplementedGrpcServer
	// contains filtered or unexported fields
}

func NewGrpcService

func NewGrpcService(uc *biz.GrpcUsecase, lg log.Logger) *GrpcService

func (*GrpcService) GetUserInfo

func (s *GrpcService) GetUserInfo(ctx context.Context, req *v1.UserInfoRequest) (*v1.UserInfoResponse, error)

type HttpService

type HttpService struct {
	// contains filtered or unexported fields
}

func NewHttpService

func NewHttpService(uc *biz.HttpUsecase, lg log.Logger) *HttpService

func (*HttpService) AddRoleCasbin

func (s *HttpService) AddRoleCasbin(c *gin.Context)

func (*HttpService) AddRoleMenu

func (s *HttpService) AddRoleMenu(c *gin.Context)

func (*HttpService) Captcha

func (s *HttpService) Captcha(c *gin.Context)

Captcha 生成验证码

func (*HttpService) DebugPerf

func (s *HttpService) DebugPerf(c *gin.Context)

func (*HttpService) DeleteRoleCasbin

func (s *HttpService) DeleteRoleCasbin(c *gin.Context)

func (*HttpService) DeleteRoleMenuByID

func (s *HttpService) DeleteRoleMenuByID(c *gin.Context)

func (*HttpService) GetAllMenuList

func (s *HttpService) GetAllMenuList(c *gin.Context)

func (*HttpService) GetDictList

func (s *HttpService) GetDictList(c *gin.Context)

func (*HttpService) GetRoleCasbinList

func (s *HttpService) GetRoleCasbinList(c *gin.Context)

func (*HttpService) GetRoleMenuList

func (s *HttpService) GetRoleMenuList(c *gin.Context)

func (*HttpService) GetSetting

func (s *HttpService) GetSetting(c *gin.Context)

func (*HttpService) GetUserInfo

func (s *HttpService) GetUserInfo(c *gin.Context)

func (*HttpService) Login

func (s *HttpService) Login(c *gin.Context)

func (*HttpService) UpdatePassword

func (s *HttpService) UpdatePassword(c *gin.Context)

func (*HttpService) UpdateRoleCasbin

func (s *HttpService) UpdateRoleCasbin(c *gin.Context)

func (*HttpService) UpdateRoleMenu

func (s *HttpService) UpdateRoleMenu(c *gin.Context)

func (*HttpService) UpdateSetting

func (s *HttpService) UpdateSetting(c *gin.Context)

func (*HttpService) UpdateUserInfo

func (s *HttpService) UpdateUserInfo(c *gin.Context)

Jump to

Keyboard shortcuts

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