sync
This commit is contained in:
22
pkg/remote/obj/obj.go
Normal file
22
pkg/remote/obj/obj.go
Normal 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"`
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user