Documentation ¶
Index ¶
- type Service
- func (s *Service) AddTeam(groupId int64, name string, description string) (map[string]interface{}, error)
- func (s *Service) DeleteTeam(teamId int64) error
- func (s *Service) GetGroupTeams(groupId int64) ([]interface{}, error)
- func (s *Service) GetTeam(teamId int64) (map[string]interface{}, error)
- func (s *Service) GetTeam2(groupId int64, name string) (map[string]interface{}, error)
- func (s *Service) GetUserTeams(userId int64) ([]interface{}, error)
- func (s *Service) GetUserTeams2(userId int64, groupId int64) ([]interface{}, error)
- func (s *Service) HasUserTeam(userId int64, teamId int64) (bool, error)
- func (s *Service) UpdateTeam(teamId int64, name string, description string) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) DeleteTeam ¶
func (*Service) GetGroupTeams ¶
func (*Service) GetUserTeams ¶
func (*Service) GetUserTeams2 ¶
func (*Service) HasUserTeam ¶
Click to show internal directories.
Click to hide internal directories.