Documentation
¶
Overview ¶
Everything that's not alexa-related goes here for now.
Index ¶
- Constants
- func Client() (*http.Client, error)
- func ContainsAttendee(event EventSummary, name string) bool
- func LoadToken() (*oauth2.Token, error)
- func OAuthConfig() *oauth2.Config
- func QueryEventsPage(client *http.Client, url string) *events
- func SaveToken(t *oauth2.Token) error
- func TestIntentHandler(echoReq *alexa.EchoRequest, echoResp *alexa.EchoResponse)
- type Attendee
- type Email
- type EventSummary
- type Status
Constants ¶
View Source
const ( GraphBaseUrl = "https://graph.microsoft.com/" EventsApi = GraphBaseUrl + "v1.0/me/events/?" )
View Source
const (
DateTimeFormat = "2006-01-02T15:04:05.0000000"
)
View Source
const (
TOKEN_PATH = "token.json"
)
Variables ¶
This section is empty.
Functions ¶
func ContainsAttendee ¶
func ContainsAttendee(event EventSummary, name string) bool
func OAuthConfig ¶
func QueryEventsPage ¶
func TestIntentHandler ¶
func TestIntentHandler(echoReq *alexa.EchoRequest, echoResp *alexa.EchoResponse)
Types ¶
type EventSummary ¶
func QueryAllFutureEvents ¶
func QueryAllFutureEvents(client *http.Client) ([]EventSummary, error)
func QueryEvents ¶
func QueryEvents(client *http.Client, query string) ([]EventSummary, error)
Click to show internal directories.
Click to hide internal directories.