Versions in this module Expand all Collapse all v0 v0.2.0 Jun 22, 2019 v0.1.0 Mar 31, 2019 Changes in this version + type Entity struct + Tokens EntityTokens + Type EntityType + Value interface{} + func (e *Entity) YandexDateTime() *YandexDateTime + func (e *Entity) YandexFio() *YandexFio + func (e *Entity) YandexGeo() *YandexGeo + func (e *Entity) YandexNumber() *YandexNumber + type EntityTokens struct + End int + Start int + type EntityType string + const EntityYandexDateTime + const EntityYandexFio + const EntityYandexGeo + const EntityYandexNumber + type Handler struct + Debugf Printf + Errorf Printf + Indent bool + StrictDecoder bool + Timeout time.Duration + func NewHandler(r Responder) *Handler + func (h *Handler) ServeHTTP(rw http.ResponseWriter, req *http.Request) + type Printf func(format string, a ...interface{}) + type Request struct + Meta RequestMeta + Request RequestPayload + Session RequestSession + Version string + type RequestMarkup struct + DangerousContext bool + type RequestMeta struct + ClientID string + Interfaces map[string]interface{} + Locale string + Timezone string + func (m RequestMeta) HasScreen() bool + type RequestNLU struct + Entities []Entity + Tokens []string + type RequestPayload struct + Command string + Markup RequestMarkup + NLU RequestNLU + OriginalUtterance string + Payload interface{} + Type RequestPayloadType + type RequestPayloadType string + const ButtonPressed + const SimpleUtterance + type RequestSession struct + MessageID int + New bool + SessionID string + SkillID string + UserID string + type Responder func(ctx context.Context, request *Request) (*ResponsePayload, error) + type Response struct + Response ResponsePayload + Session ResponseSession + Version string + type ResponseButton struct + Hide bool + Payload interface{} + Title string + URL string + type ResponseCard struct + Type ResponseCardType + type ResponseCardButton struct + Payload interface{} + Text string + URL string + type ResponseCardFooter struct + Button *ResponseCardButton + Text string + type ResponseCardHeader struct + Text string + type ResponseCardItem struct + Button *ResponseCardButton + Description string + ImageID string + Title string + type ResponseCardItemsList struct + Footer *ResponseCardFooter + Header *ResponseCardHeader + Items []ResponseCardItem + type ResponseCardType string + const BigImage + const ItemsList + type ResponsePayload struct + Buttons []ResponseButton + Card *ResponseCard + EndSession bool + Text string + Tts string + type ResponseSession struct + MessageID int + SessionID string + UserID string + type YandexDateTime struct + Day int + DayIsRelative bool + Hour int + HourIsRelative bool + Minute int + MinuteIsRelative bool + Month int + MonthIsRelative bool + Year int + YearIsRelative bool + type YandexFio struct + FirstName string + LastName string + PatronymicName string + type YandexGeo struct + Airport string + City string + Country string + HouseNumber string + Street string + type YandexNumber struct