script

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateLogic

type CreateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type DebugLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDebugLogic

func NewDebugLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DebugLogic

协议插件调试

func (*DebugLogic) Debug

type DeleteLogic

type DeleteLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeleteLogic

func NewDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic

删除协议插件

func (*DeleteLogic) Delete

func (l *DeleteLogic) Delete(req *types.WithIDStr) error

type IndexLogic

type IndexLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewIndexLogic

func NewIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IndexLogic

获取协议插件列表

func (*IndexLogic) Index

type ReadLogic

type ReadLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewReadLogic

func NewReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ReadLogic

获取协议插件详情

func (*ReadLogic) Read

func (l *ReadLogic) Read(req *types.WithIDStr) (resp *types.ProtocolScript, err error)

type UpdateLogic

type UpdateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateLogic

func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic

更新协议插件

func (*UpdateLogic) Update

func (l *UpdateLogic) Update(req *types.ProtocolScript) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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