Documentation ¶
Index ¶
- Variables
- type Assignable
- type AssignableGetReply
- type AssignableService
- type Bug
- type BugDescription
- type BugsGetReply
- type BugsService
- type ClientOpt
- type DateTime
- type EntityState
- type EntityType
- type Error
- type Order
- type Priority
- type Process
- type Project
- type ProjectDescription
- type Query
- func (q *Query) Append(fields ...string) *Query
- func (q *Query) Inclde(fields ...string) *Query
- func (q *Query) InnerTake(cnt int32) *Query
- func (q *Query) Order(order Order) *Query
- func (q *Query) Skip(cnt int32) *Query
- func (q *Query) Take(cnt int32) *Query
- func (q *Query) Where(str string) *Query
- type StoryGetReply
- type TPClient
- type Teams
- type UseStory
- type UserStoryService
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Status: "Unauthorized",
Message: "Check your credential",
}
)Functions ¶
This section is empty.
Types ¶
type Assignable ¶
type AssignableGetReply ¶
type AssignableGetReply struct { Prev string Next string Items []Assignable }
type AssignableService ¶
type AssignableService struct {
// contains filtered or unexported fields
}
func (*AssignableService) ExecSearch ¶
func (s *AssignableService) ExecSearch(query *Query, receiver interface{}) error
func (*AssignableService) Search ¶
func (s *AssignableService) Search(query *Query) (AssignableGetReply, error)
type Bug ¶
type Bug struct { Id int64 Name string Description string StartDate DateTime `json:"StartDate,omitempty"` EndDate DateTime `json:"EndDate,omitempty"` CreateDate DateTime `json:"CreateDate,omitempty"` Tags string `json:"Tags,omitempty"` Priority float32 `json:"NumericPriority"` Effort float32 `json:"Effort,omitempty"` Units string Type EntityType Project Project }
type BugDescription ¶
type BugDescription struct { //Id uint64 `json:"Id,omitempty"` Name string Description string Project ProjectDescription Teams Teams `json:"AssignedTeams, omitempty"` }
type BugsGetReply ¶
type BugsService ¶
type BugsService struct {
// contains filtered or unexported fields
}
func (*BugsService) Create ¶
func (b *BugsService) Create(description BugDescription) (Bug, error)
func (*BugsService) Delete ¶
func (b *BugsService) Delete(id int64) error
func (*BugsService) Next ¶
func (b *BugsService) Next(url string) (BugsGetReply, error)
func (*BugsService) Search ¶
func (b *BugsService) Search(query *Query) (BugsGetReply, error)
type DateTime ¶
func (*DateTime) UnmarshalJSON ¶
type EntityState ¶
type EntityType ¶
type Error ¶
type ProjectDescription ¶
type ProjectDescription struct {
Id int
}
type StoryGetReply ¶
type TPClient ¶
type TPClient struct {
// contains filtered or unexported fields
}
func (*TPClient) Assignables ¶
func (t *TPClient) Assignables() *AssignableService
func (*TPClient) Bugs ¶
func (t *TPClient) Bugs() *BugsService
func (*TPClient) Story ¶
func (t *TPClient) Story() *UserStoryService
type UseStory ¶
type UseStory struct { Id int64 Name string Description string StartDate DateTime `json:"StartDate,omitempty"` EndDate DateTime `json:"EndDate,omitempty"` CreateDate DateTime `json:"CreateDate,omitempty"` Tags string `json:"Tags,omitempty"` Priority float32 `json:"NumericPriority"` Effort float32 `json:"Effort,omitempty"` Units string Type EntityType Project Project }
type UserStoryService ¶
type UserStoryService struct {
// contains filtered or unexported fields
}
func (*UserStoryService) ExecGet ¶
func (s *UserStoryService) ExecGet(id int64, receiver interface{}) error
func (*UserStoryService) ExecSearch ¶
func (s *UserStoryService) ExecSearch(query *Query, receiver interface{}) error
func (*UserStoryService) Search ¶
func (s *UserStoryService) Search(query *Query) (StoryGetReply, error)
Click to show internal directories.
Click to hide internal directories.