Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateLogic ¶
func NewCreateLogic ¶
func NewCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic
新增协议插件
func (*CreateLogic) Create ¶
func (l *CreateLogic) Create(req *types.ProtocolScript) (resp *types.WithIDStr, err error)
type DebugLogic ¶
func NewDebugLogic ¶
func NewDebugLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DebugLogic
协议插件调试
func (*DebugLogic) Debug ¶
func (l *DebugLogic) Debug(req *types.ProtocolScriptDebugReq) (resp *types.ProtocolScriptDebugResp, 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.ProtocolScriptIndexReq) (resp *types.ProtocolScriptIndexResp, err error)
type ReadLogic ¶
func NewReadLogic ¶
func NewReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ReadLogic
获取协议插件详情
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
更新协议插件
func (*UpdateLogic) Update ¶
func (l *UpdateLogic) Update(req *types.ProtocolScript) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.