my_team

package
v1.3.4-beta Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ITeamModule

type ITeamModule interface {
	// GetTeam 获取团队信息
	GetTeam(ctx context.Context, id string) (*team_dto.Team, error)
	// Search 搜索团队
	Search(ctx context.Context, keyword string) ([]*team_dto.Item, error)
	// Edit 编辑团队
	Edit(ctx context.Context, id string, input *team_dto.EditTeam) (*team_dto.Team, error)
	// MySimpleTeams 简易搜索团队
	MySimpleTeams(ctx context.Context, keyword string) ([]*team_dto.SimpleTeam, error)
	// SimpleTeams 简易搜索团队
	SimpleTeams(ctx context.Context, keyword string) ([]*team_dto.SimpleTeam, error)
	// AddMember 添加团队成员
	AddMember(ctx context.Context, id string, uuids ...string) error
	// RemoveMember 移除团队成员
	RemoveMember(ctx context.Context, id string, uuids ...string) error
	// Members 获取团队成员列表
	Members(ctx context.Context, id string, keyword string) ([]*team_dto.Member, error)
	// SimpleMembers 获取团队成员简易列表
	SimpleMembers(ctx context.Context, id string, keyword string) ([]*team_dto.SimpleMember, error)

	// UpdateMemberRole 更新成员角色
	UpdateMemberRole(ctx context.Context, id string, input *team_dto.UpdateMemberRole) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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