mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-03 08:32:24 +00:00
- Change package name general_server to gateway - Changing the structure of directories and packages - Adding vendor to the project
21 lines
550 B
Go
21 lines
550 B
Go
package sv1
|
|
|
|
// PETTI - Go Sally Protocol for Exchanging Technical Tasks and Information
|
|
|
|
type PettiRequest struct {
|
|
PettiVer string `json:"PettiVer"`
|
|
PackageType struct {
|
|
Request string `json:"Request"`
|
|
} `json:"PackageType"`
|
|
Payload map[string]any `json:"Payload"`
|
|
}
|
|
|
|
type PettiResponse struct {
|
|
PettiVer string `json:"PettiVer"`
|
|
PackageType struct {
|
|
AnswerOf string `json:"AnswerOf"`
|
|
} `json:"PackageType"`
|
|
ResponsibleAgentUUID string `json:"ResponsibleAgentUUID"`
|
|
Payload map[string]any `json:"Payload"`
|
|
}
|