package
Version:
v0.0.0-...-8b17fe9
Opens a new window with list of versions in this module.
Published: Nov 3, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Action struct {
Say string `json:"say"`
}
type Context struct {
History []string `json:"SYS_PRESUMED_HIST"`
}
type Request struct {
TerminalId string `json:"terminal_id"`
Query string `json:"query"`
}
type Responses struct {
Status int32 `json:"status"`
Msg string `json:"msg"`
Actions []*Action `json:"actions"`
}
type Result struct {
Context *Context `json:"context"`
SessionId string `json:"session_id"`
Responses []*Responses `json:"responses"`
}
type UnitRequest struct {
Version string `json:"version"`
ServiceId string `json:"service_id"`
LogId string `json:"log_id"`
SessionId string `json:"session_id"`
Request Request `json:"request"`
}
下面开始是request相关结构体
type UnitRespose struct {
ErrorCode int32 `json:"error_code"`
ErrorMsg string `json:"error_msg"`
Result *Result `json:"result"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.