2 Star 4 Fork 6

联犀/中台模块

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
accessManageServer.go 2.37 KB
一键复制 编辑 原始数据 按行查看 历史
杨磊 提交于 2024-10-10 21:56 . feat: 更新mod
// Code generated by goctl. DO NOT EDIT.
// goctl 1.7.1
// Source: sys.proto
package server
import (
"context"
"gitee.com/unitedrhino/core/service/syssvr/internal/logic/accessmanage"
"gitee.com/unitedrhino/core/service/syssvr/internal/svc"
"gitee.com/unitedrhino/core/service/syssvr/pb/sys"
)
type AccessManageServer struct {
svcCtx *svc.ServiceContext
sys.UnimplementedAccessManageServer
}
func NewAccessManageServer(svcCtx *svc.ServiceContext) *AccessManageServer {
return &AccessManageServer{
svcCtx: svcCtx,
}
}
func (s *AccessManageServer) ApiInfoCreate(ctx context.Context, in *sys.ApiInfo) (*sys.WithID, error) {
l := accessmanagelogic.NewApiInfoCreateLogic(ctx, s.svcCtx)
return l.ApiInfoCreate(in)
}
func (s *AccessManageServer) ApiInfoIndex(ctx context.Context, in *sys.ApiInfoIndexReq) (*sys.ApiInfoIndexResp, error) {
l := accessmanagelogic.NewApiInfoIndexLogic(ctx, s.svcCtx)
return l.ApiInfoIndex(in)
}
func (s *AccessManageServer) ApiInfoUpdate(ctx context.Context, in *sys.ApiInfo) (*sys.Empty, error) {
l := accessmanagelogic.NewApiInfoUpdateLogic(ctx, s.svcCtx)
return l.ApiInfoUpdate(in)
}
func (s *AccessManageServer) ApiInfoDelete(ctx context.Context, in *sys.WithID) (*sys.Empty, error) {
l := accessmanagelogic.NewApiInfoDeleteLogic(ctx, s.svcCtx)
return l.ApiInfoDelete(in)
}
func (s *AccessManageServer) AccessInfoMultiImport(ctx context.Context, in *sys.AccessInfoMultiImportReq) (*sys.AccessInfoMultiImportResp, error) {
l := accessmanagelogic.NewAccessInfoMultiImportLogic(ctx, s.svcCtx)
return l.AccessInfoMultiImport(in)
}
func (s *AccessManageServer) AccessInfoCreate(ctx context.Context, in *sys.AccessInfo) (*sys.WithID, error) {
l := accessmanagelogic.NewAccessInfoCreateLogic(ctx, s.svcCtx)
return l.AccessInfoCreate(in)
}
func (s *AccessManageServer) AccessInfoIndex(ctx context.Context, in *sys.AccessInfoIndexReq) (*sys.AccessInfoIndexResp, error) {
l := accessmanagelogic.NewAccessInfoIndexLogic(ctx, s.svcCtx)
return l.AccessInfoIndex(in)
}
func (s *AccessManageServer) AccessInfoUpdate(ctx context.Context, in *sys.AccessInfo) (*sys.Empty, error) {
l := accessmanagelogic.NewAccessInfoUpdateLogic(ctx, s.svcCtx)
return l.AccessInfoUpdate(in)
}
func (s *AccessManageServer) AccessInfoDelete(ctx context.Context, in *sys.WithID) (*sys.Empty, error) {
l := accessmanagelogic.NewAccessInfoDeleteLogic(ctx, s.svcCtx)
return l.AccessInfoDelete(in)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/unitedrhino/core.git
git@gitee.com:unitedrhino/core.git
unitedrhino
core
中台模块
v1.2.4

搜索帮助