teamDao

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckToken

func CheckToken(teamID, userID, pass string) (team *dao.Team, err error)

CheckToken ...

func Create

func Create(ownerID, name, pass string) (teamResult *dao.TeamResult, err error)

Create ...

func Find

func Find(TeamID uuid.UUID, IsDeleted bool) (team *dao.Team, err error)

Find ...

func FindByMemberID

func FindByMemberID(memberID string) (teams []*dao.TeamResult, err error)

FindByMemberID ...

func FindByOwnerID

func FindByOwnerID(ownerID string, IsDeleted bool) (teams []*dao.TeamResult, err error)

FindByOwnerID ...

func Update

func Update(TeamID uuid.UUID, team *dao.Team) (teamResult *dao.TeamResult, err error)

Update ...

func UpdateMembers

func UpdateMembers(userID string, TeamID uuid.UUID, pull, push []string) (
	teamResult *dao.TeamResult, err error)

UpdateMembers ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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