my_team

package
v1.3.1-beta Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ITeamController

type ITeamController interface {
	// GetTeam 获取团队信息
	GetTeam(ctx *gin.Context, id string) (*team_dto.Team, error)
	Search(ctx *gin.Context, keyword string) ([]*team_dto.Item, error)
	EditTeam(ctx *gin.Context, id string, team *team_dto.EditTeam) (*team_dto.Team, error)
	MySimpleTeams(ctx *gin.Context, keyword string) ([]*team_dto.SimpleTeam, error)
	SimpleTeams(ctx *gin.Context, keyword string) ([]*team_dto.SimpleTeam, error)
	AddMember(ctx *gin.Context, id string, users *team_dto.UserIDs) error
	RemoveMember(ctx *gin.Context, id string, uuid string) error
	Members(ctx *gin.Context, id string, keyword string) ([]*team_dto.Member, error)
	SimpleMembers(ctx *gin.Context, id string, keyword string) ([]*team_dto.SimpleMember, error)
	UpdateMemberRole(ctx *gin.Context, id string, input *team_dto.UpdateMemberRole) error
}

Jump to

Keyboard shortcuts

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