update
This commit is contained in:
@@ -16,13 +16,13 @@ const DEFAULT_FILESERVER_URL = "http://localhost:8080/upload" # Default HTTP fi
|
||||
|
||||
|
||||
struct msgPayload_v1
|
||||
id::String # id of this payload
|
||||
dataname::String # name of this payload
|
||||
id::String # id of this payload e.g. "uuid4"
|
||||
dataname::String # name of this payload e.g. "login_image"
|
||||
type::String # "text | json | table | image | audio | video | binary"
|
||||
transport::String # "direct | link"
|
||||
encoding::String # "none | json | base64 | arrow-ipc"
|
||||
size::Integer # data size in bytes e.g. 15433
|
||||
data::Any # payload data in case of direct transport or URL in case of link
|
||||
data::Any # payload data in case of direct transport or a URL in case of link
|
||||
metadata::Dict{String, Any} # Dict("checksum=> "sha256_hash", ...)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user