Versions in this module Expand all Collapse all v1 v1.0.1 Oct 10, 2021 Changes in this version + type Aligenie struct + AppIdAttr string + func (T *Aligenie) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (T *Aligenie) SetApp(id string, app *Application) + type Application struct + HandleFunc http.HandlerFunc + ValidReqTimestamp int + type Intent struct + App *Application + Request *Request + Response *Response + func (T *Intent) ServeHTTP(w http.ResponseWriter, r *http.Request) + type Request struct + BotId int64 + ConfirmStatus string + DomainId int64 + IntentId int64 + IntentName string + RequestData map[string]string + RequestId string + SessionId string + SkillId int64 + SkillName string + SkillSession RequestSkillSession + SlotEntities []RequestSlotEntitie + Token string + Utterance string + func (T *Request) IntentParameterNames() []string + func (T *Request) OriginalValue(name string) string + func (T *Request) SlotOriginalValues() map[string]string + func (T *Request) WordsPair() string + type RequestSkillSession struct + NewSession bool + SkillSessionId string + type RequestSlotEntitie struct + CreateTimeStamp int64 + IntentParameterId int64 + IntentParameterName string + LiveTime int64 + OriginalValue string + SlotName string + SlotValue string + StandardValue string + type Response struct + ReturnCode string + ReturnErrorSolution string + ReturnMessage string + ReturnValue ResponseValue + func (T *Response) Ask(reply string, askedInfos []string) + func (T *Response) Askf(reply string, askedInfos []string, args ...interface{}) + func (T *Response) Confirm(reply string) + func (T *Response) Confirmf(reply string, args ...interface{}) + func (T *Response) Error(errStr, code string) + func (T *Response) Result(reply string) + func (T *Response) Resultf(reply string, args ...interface{}) + func (T *Response) WriteTo(w io.Writer) (n int64, err error) + type ResponseConfirmParaInfo struct + ConfirmParameterName string + DenyParameterName string + type ResponseGwCommands struct + CommandDomain string + CommandName string + Payload map[string]interface{} + type ResponseValue struct + Actions []ResponseValueAction + AskedInfos []ResponseValueAskedInfo + ConfirmParaInfo ResponseConfirmParaInfo + ExecuteCode string + GwCommands []ResponseGwCommands + Properties map[string]string + Reply string + ResultType string + type ResponseValueAction struct + Name string + Properties map[string]string + type ResponseValueAskedInfo struct + IntentId int64 + ParameterName string + type ResponseWriter interface + Ask func(reply string, askedInfos []string) + Askf func(reply string, askedInfos []string, args ...interface{}) + Confirm func(reply string) + Confirmf func(reply string, args ...interface{}) + Error func(errStr, code string) + Result func(reply string) + Resultf func(reply string, args ...interface{}) + WriteTo func(w io.Writer) (n int64, err error)