Project structure refactor:

- Change package name general_server to gateway
- Changing the structure of directories and packages
- Adding vendor to the project
This commit is contained in:
2025-07-28 20:16:40 +03:00
parent 19b699d92b
commit ec94df5f4a
786 changed files with 357010 additions and 357 deletions

View File

@@ -0,0 +1,20 @@
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"`
}