systemservice

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSetSystem 注入系统相关服务

Functions

This section is empty.

Types

type ApiService

type ApiService struct {
	pb.UnimplementedApiServer
	// contains filtered or unexported fields
}

func NewApiService

func NewApiService(apiBiz *biz.ApiBiz, logger log.Logger) *ApiService

func (*ApiService) AuthorizeApi

func (s *ApiService) AuthorizeApi(ctx context.Context, req *pb.AuthorizeApiRequest) (*pb.AuthorizeApiReply, error)

AuthorizeApi 授权api

func (*ApiService) CreateApi

func (s *ApiService) CreateApi(ctx context.Context, req *pb.CreateApiRequest) (*pb.CreateApiReply, error)

func (*ApiService) DeleteApi

func (s *ApiService) DeleteApi(ctx context.Context, req *pb.DeleteApiRequest) (*pb.DeleteApiReply, error)

func (*ApiService) EditApiStatus

func (s *ApiService) EditApiStatus(ctx context.Context, req *pb.EditApiStatusRequest) (*pb.EditApiStatusReply, error)

EditApiStatus 编辑api状态

func (*ApiService) GetApi

func (s *ApiService) GetApi(ctx context.Context, req *pb.GetApiRequest) (*pb.GetApiReply, error)

func (*ApiService) GetApiTree

GetApiTree 获取api权限树

func (*ApiService) ListApi

func (s *ApiService) ListApi(ctx context.Context, req *pb.ListApiRequest) (*pb.ListApiReply, error)

func (*ApiService) SelectApi

func (s *ApiService) SelectApi(ctx context.Context, req *pb.SelectApiRequest) (*pb.SelectApiReply, error)

func (*ApiService) UpdateApi

func (s *ApiService) UpdateApi(ctx context.Context, req *pb.UpdateApiRequest) (*pb.UpdateApiReply, error)

type RoleService

type RoleService struct {
	pb.UnimplementedRoleServer
	// contains filtered or unexported fields
}

func NewRoleService

func NewRoleService(roleBiz *biz.RoleBiz, logger log.Logger) *RoleService

func (*RoleService) CreateRole

func (s *RoleService) CreateRole(ctx context.Context, req *pb.CreateRoleRequest) (*pb.CreateRoleReply, error)

func (*RoleService) DeleteRole

func (s *RoleService) DeleteRole(ctx context.Context, req *pb.DeleteRoleRequest) (*pb.DeleteRoleReply, error)

func (*RoleService) EditRoleStatus

EditRoleStatus 编辑角色状态

func (*RoleService) GetRole

func (s *RoleService) GetRole(ctx context.Context, req *pb.GetRoleRequest) (*pb.GetRoleReply, error)

func (*RoleService) ListRole

func (s *RoleService) ListRole(ctx context.Context, req *pb.ListRoleRequest) (*pb.ListRoleReply, error)

func (*RoleService) RelateApi

func (s *RoleService) RelateApi(ctx context.Context, req *pb.RelateApiRequest) (*pb.RelateApiReply, error)

func (*RoleService) SelectRole

func (s *RoleService) SelectRole(ctx context.Context, req *pb.SelectRoleRequest) (*pb.SelectRoleReply, error)

func (*RoleService) UpdateRole

func (s *RoleService) UpdateRole(ctx context.Context, req *pb.UpdateRoleRequest) (*pb.UpdateRoleReply, error)

type Service

type Service struct {
	system.UnimplementedDictServer
	// contains filtered or unexported fields
}

func NewDictService

func NewDictService(dictBiz *biz.DictBiz, pageBiz *biz.AlarmPageBiz, logger log.Logger) *Service

func (*Service) BatchDeleteDict

func (*Service) CountAlarmPage

CountAlarmPage 统计各告警页面的告警数量

func (*Service) CreateDict

func (*Service) DeleteDict

func (*Service) GetDict

func (*Service) ListDict

func (*Service) ListMyAlarmPage

ListMyAlarmPage 获取我的告警页面列表

func (*Service) MyAlarmPagesConfig

MyAlarmPagesConfig 我的告警页面列表配置

func (*Service) SelectDict

func (*Service) UpdateDict

type SyslogService

type SyslogService struct {
	pb.UnimplementedSyslogServer
	// contains filtered or unexported fields
}

func NewSyslogService

func NewSyslogService(logBiz *biz.SysLogBiz, l log.Logger) *SyslogService

func (*SyslogService) ListSyslog

type UserService

type UserService struct {
	pb.UnimplementedUserServer
	// contains filtered or unexported fields
}

func NewUserService

func NewUserService(userBiz *biz.UserBiz, captchaBiz *biz.CaptchaBiz, logger log.Logger) *UserService

func (*UserService) CreateUser

func (s *UserService) CreateUser(ctx context.Context, req *pb.CreateUserRequest) (*pb.CreateUserReply, error)

func (*UserService) DeleteUser

func (s *UserService) DeleteUser(ctx context.Context, req *pb.DeleteUserRequest) (*pb.DeleteUserReply, error)

func (*UserService) EditUserPassword

func (*UserService) EditUserStatus

func (*UserService) GetUser

func (s *UserService) GetUser(ctx context.Context, req *pb.GetUserRequest) (*pb.GetUserReply, error)

func (*UserService) ListUser

func (s *UserService) ListUser(ctx context.Context, req *pb.ListUserRequest) (*pb.ListUserReply, error)

func (*UserService) RelateRoles

func (s *UserService) RelateRoles(ctx context.Context, req *pb.RelateRolesRequest) (*pb.RelateRolesReply, error)

func (*UserService) SelectUser

func (s *UserService) SelectUser(ctx context.Context, req *pb.SelectUserRequest) (*pb.SelectUserReply, error)

func (*UserService) UpdateUser

func (s *UserService) UpdateUser(ctx context.Context, req *pb.UpdateUserRequest) (*pb.UpdateUserReply, error)

Jump to

Keyboard shortcuts

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