Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultFirebaseAPIKey = "AIzaSyCJwO1t81W7vhpDOL9rey23Q90VjruNkD4"
View Source
const DefaultFirebaseURL = "https://pairist-9de4d.firebaseio.com"
https://github.com/pivotal-cf/pairist/blob/d5a40ad99a5985bec61a524e4c175a730ad9e788/.env.production
Variables ¶
View Source
var DefaultClient = NewClient(http.DefaultClient, DefaultFirebaseURL, nil)
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetTeamCurrent ¶
func (c *Client) GetTeamCurrent(team string) (*TeamPairing, error)
func (*Client) GetTeamHistorical ¶
func (c *Client) GetTeamHistorical(team string) (*TeamPairingHistory, error)
type TeamList ¶
type TeamList struct { Items TeamListItems `json:"items,omitempty"` Title string `json:"title,omitempty"` }
type TeamListItem ¶
type TeamListItems ¶
type TeamListItems map[string]TeamListItem
type TeamPairing ¶
type TeamPairing struct { Entities map[string]TeamPairingEntity `json:"entities,omitempty"` Lanes map[string]TeamPairingLane `json:"lanes,omitempty"` }
type TeamPairingEntity ¶
type TeamPairingEntity struct { Color string `json:"color,omitempty"` Icon string `json:"icon,omitempty"` Location string `json:"location,omitempty"` Name string `json:"name,omitempty"` Picture string `json:"picture,omitempty"` Tags []string `json:"tags,omitempty"` Type string `json:"type,omitempty"` UpdatedAt uint `json:"updatedAt,omitempty"` }
type TeamPairingHistory ¶
type TeamPairingHistory map[int]TeamPairing
type TeamPairingLane ¶
Click to show internal directories.
Click to hide internal directories.