Documentation ¶
Index ¶
- func ToAccessInfoPb(in *types.AccessInfo) *sys.AccessInfo
- func ToAccessInfoTypes(in *sys.AccessInfo) *types.AccessInfo
- func ToAccessInfosTypes(in []*sys.AccessInfo) (ret []*types.AccessInfo)
- func ToAccessModuleInfoTypes(in []*sys.AccessInfo) (ret []*types.AccessModuleInfo)
- type CreateLogic
- type DeleteLogic
- type IndexLogic
- type MultiImportLogic
- type TreeLogic
- type UpdateLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToAccessInfoPb ¶
func ToAccessInfoPb(in *types.AccessInfo) *sys.AccessInfo
func ToAccessInfoTypes ¶
func ToAccessInfoTypes(in *sys.AccessInfo) *types.AccessInfo
func ToAccessInfosTypes ¶
func ToAccessInfosTypes(in []*sys.AccessInfo) (ret []*types.AccessInfo)
func ToAccessModuleInfoTypes ¶
func ToAccessModuleInfoTypes(in []*sys.AccessInfo) (ret []*types.AccessModuleInfo)
Types ¶
type CreateLogic ¶
func NewCreateLogic ¶
func NewCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic
func (*CreateLogic) Create ¶
func (l *CreateLogic) Create(req *types.AccessInfo) (resp *types.WithID, err error)
type DeleteLogic ¶
func NewDeleteLogic ¶
func NewDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic
type IndexLogic ¶
func NewIndexLogic ¶
func NewIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IndexLogic
func (*IndexLogic) Index ¶
func (l *IndexLogic) Index(req *types.AccessIndexReq) (resp *types.AccessIndexResp, err error)
type MultiImportLogic ¶
func NewMultiImportLogic ¶
func NewMultiImportLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiImportLogic
func (*MultiImportLogic) MultiImport ¶
func (l *MultiImportLogic) MultiImport(req *types.AccessMultiImportReq, f []byte) (resp *types.AccessMultiImportResp, err error)
type TreeLogic ¶
func NewTreeLogic ¶
func NewTreeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TreeLogic
func (*TreeLogic) Tree ¶
func (l *TreeLogic) Tree(req *types.AccessIndexReq) (resp *types.AccessTreeResp, err error)
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
func (*UpdateLogic) Update ¶
func (l *UpdateLogic) Update(req *types.AccessInfo) error
Click to show internal directories.
Click to hide internal directories.