Documentation ¶
Overview ¶
Package bins provides access to a project's ticket bins via the Lighthouse API. http://help.lighthouseapp.com/kb/api/ticket-bins.
Index ¶
- type Bin
- type BinCreate
- type BinUpdate
- type Bins
- type Service
- func (s *Service) Create(b *Bin) (*Bin, error)
- func (s *Service) Delete(idOrName string) error
- func (s *Service) DeleteByID(id int) error
- func (s *Service) DeleteByName(name string) error
- func (s *Service) Get(idOrName string) (*Bin, error)
- func (s *Service) GetByID(id int) (*Bin, error)
- func (s *Service) GetByName(name string) (*Bin, error)
- func (s *Service) List() (Bins, error)
- func (s *Service) Update(b *Bin) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bin ¶
type Bin struct { Default bool `json:"default"` ID int `json:"id"` Name string `json:"name"` Position int `json:"position"` ProjectID int `json:"project_id"` Query string `json:"query"` TicketsCount int `json:"tickets_count"` UpdatedAt *time.Time `json:"updated_at"` UserID int `json:"user_id"` Global bool `json:"global"` }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(s *lighthouse.Service, projectID int) *Service
func (*Service) DeleteByID ¶ added in v0.4.1
func (*Service) DeleteByName ¶ added in v0.4.1
Click to show internal directories.
Click to hide internal directories.