Documentation ¶
Index ¶
- type AQICNFeedResponse
- type AQICNSearchResponse
- type DialogFlowLocationResponse
- type DialogFlowOriginalRequest
- type DialogFlowOriginalRequestCoordinates
- type DialogFlowOriginalRequestData
- type DialogFlowOriginalRequestDevice
- type DialogFlowOriginalRequestLocation
- type DialogFlowRequest
- type DialogFlowResponse
- type DialogFlowResponseData
- type DialogFlowResponseGoogle
- type DialogFlowResponseSystemIntent
- type DialogFlowResponseSystemIntentData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AQICNFeedResponse ¶
type AQICNFeedResponse struct { Status string `json:"status"` Data struct { AQI int `json:"aqi"` } `json:"data"` }
AQICNFeedResponse struct
type AQICNSearchResponse ¶
type AQICNSearchResponse struct { Status string `json:"status"` Data []struct { UID int `json:"uid"` } `json:"data"` }
AQICNSearchResponse struct
type DialogFlowLocationResponse ¶
type DialogFlowLocationResponse struct { Speech string `json:"speech"` Data DialogFlowResponseData `json:"data"` }
DialogFlowLocationResponse struct
type DialogFlowOriginalRequest ¶
type DialogFlowOriginalRequest struct {
Data DialogFlowOriginalRequestData `json:"data"`
}
DialogFlowOriginalRequest struct
type DialogFlowOriginalRequestCoordinates ¶
type DialogFlowOriginalRequestCoordinates struct { Lat float32 `json:"latitude"` Long float32 `json:"longitude"` }
DialogFlowOriginalRequestCoordinates struct
type DialogFlowOriginalRequestData ¶
type DialogFlowOriginalRequestData struct {
Device DialogFlowOriginalRequestDevice `json:"device"`
}
DialogFlowOriginalRequestData struct
type DialogFlowOriginalRequestDevice ¶
type DialogFlowOriginalRequestDevice struct {
Location DialogFlowOriginalRequestLocation `json:"location"`
}
DialogFlowOriginalRequestDevice struct
type DialogFlowOriginalRequestLocation ¶
type DialogFlowOriginalRequestLocation struct {
Coordinates DialogFlowOriginalRequestCoordinates `json:"coordinates"`
}
DialogFlowOriginalRequestLocation struct
type DialogFlowRequest ¶
type DialogFlowRequest struct { Result struct { Action string `json:"action"` } `json:"result"` OriginalRequest DialogFlowOriginalRequest `json:"originalRequest"` }
DialogFlowRequest struct
type DialogFlowResponse ¶
type DialogFlowResponse struct {
Speech string `json:"speech"`
}
DialogFlowResponse struct
type DialogFlowResponseData ¶
type DialogFlowResponseData struct {
Google DialogFlowResponseGoogle `json:"google"`
}
DialogFlowResponseData struct
type DialogFlowResponseGoogle ¶
type DialogFlowResponseGoogle struct { ExpectUserResponse bool `json:"expectUserResponse"` IsSsml bool `json:"isSsml"` SystemIntent DialogFlowResponseSystemIntent `json:"systemIntent"` }
DialogFlowResponseGoogle struct
type DialogFlowResponseSystemIntent ¶
type DialogFlowResponseSystemIntent struct { Intent string `json:"intent"` Data DialogFlowResponseSystemIntentData `json:"data"` }
DialogFlowResponseSystemIntent struct
type DialogFlowResponseSystemIntentData ¶
type DialogFlowResponseSystemIntentData struct { Type string `json:"@type"` OptContext string `json:"optContext"` Permissions []string `json:"permissions"` }
DialogFlowResponseSystemIntentData struct
Click to show internal directories.
Click to hide internal directories.