group_svc

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupSvc

type GroupSvc interface {
	Get(ctx context.Context, id int64) (*group_entity.Group, error)
	List(ctx context.Context) ([]*group_entity.Group, error)
	Create(ctx context.Context, group *group_entity.Group) error
	Update(ctx context.Context, group *group_entity.Group) error
	Rename(ctx context.Context, id int64, name string) error
	Delete(ctx context.Context, id int64, deleteAssets bool) error
	Move(ctx context.Context, id int64, direction string) error
	Reorder(ctx context.Context, id, targetParentID, beforeID int64) error
}

GroupSvc 分组业务接口

func Group

func Group() GroupSvc

Group 获取 GroupSvc 实例

Jump to

Keyboard shortcuts

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