Documentation ¶
Index ¶
Constants ¶
View Source
const ( TrackerDomain = "https://www.pivotaltracker.com/services/v5" MeRequestPath = "/me" AuthenticateRequestPath = "/me" ProjectsRequestPath = "/projects" ActivityRequestPath = "/projects/%d/activity?limit=5" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APITokenStrategy ¶
type APITokenStrategy struct {
APIToken string
}
func (*APITokenStrategy) Strategize ¶
func (s *APITokenStrategy) Strategize(r *http.Request)
type BasicAuthStrategy ¶
func (*BasicAuthStrategy) Strategize ¶
func (s *BasicAuthStrategy) Strategize(r *http.Request)
type RequestAuthStrategy ¶
type Requester ¶
type Requester struct {
// contains filtered or unexported fields
}
func New ¶
func New(url string, authStrategy RequestAuthStrategy) Requester
type Resolver ¶
type Resolver struct {
TrackerDomain string
}
func NewDefaultResolver ¶
func NewDefaultResolver() Resolver
func (*Resolver) ActivityRequestURL ¶
func (*Resolver) AuthenticateRequestURL ¶
func (*Resolver) MeRequestURL ¶
func (*Resolver) ProjectsRequestURL ¶
Click to show internal directories.
Click to hide internal directories.