This commit is contained in:
2025-05-15 19:38:13 +02:00
parent 35ce8c4707
commit 130af90e03
9 changed files with 360 additions and 62 deletions

22
pkg/remote/obj/obj.go Normal file
View File

@@ -0,0 +1,22 @@
package obj
import "time"
type (
HTTPCore struct {
Status int `json:"status"`
Timestamp time.Time `json:"timestamp"`
Path string `json:"path"`
}
HTTPError struct {
HTTPCore
Error string `json:"error"`
Message string `json:"message"`
}
HTTPObject struct {
HTTPCore
Data any `json:"data"`
}
)