Documentation ¶
Index ¶
- Variables
- type GrpcService
- type HttpService
- func (s *HttpService) AddRoleCasbin(c *gin.Context)
- func (s *HttpService) AddRoleMenu(c *gin.Context)
- func (s *HttpService) Captcha(c *gin.Context)
- func (s *HttpService) DebugPerf(c *gin.Context)
- func (s *HttpService) DeleteRoleCasbin(c *gin.Context)
- func (s *HttpService) DeleteRoleMenuByID(c *gin.Context)
- func (s *HttpService) GetAllMenuList(c *gin.Context)
- func (s *HttpService) GetDictList(c *gin.Context)
- func (s *HttpService) GetRoleCasbinList(c *gin.Context)
- func (s *HttpService) GetRoleMenuList(c *gin.Context)
- func (s *HttpService) GetSetting(c *gin.Context)
- func (s *HttpService) GetUserInfo(c *gin.Context)
- func (s *HttpService) Login(c *gin.Context)
- func (s *HttpService) UpdatePassword(c *gin.Context)
- func (s *HttpService) UpdateRoleCasbin(c *gin.Context)
- func (s *HttpService) UpdateRoleMenu(c *gin.Context)
- func (s *HttpService) UpdateSetting(c *gin.Context)
- func (s *HttpService) UpdateUserInfo(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewHttpService, NewGrpcService)
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) 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)
Click to show internal directories.
Click to hide internal directories.