2018-02-02 22:49:20 +01:00
|
|
|
package types
|
|
|
|
|
2018-05-30 03:38:55 +02:00
|
|
|
// SdBlob is an instance of specialized blob that contains information on the rest of the blobs it is associated with.
|
2018-02-02 22:49:20 +01:00
|
|
|
type SdBlob struct {
|
|
|
|
StreamName string `json:"stream_name"`
|
|
|
|
Blobs []struct {
|
|
|
|
Length int `json:"length"`
|
|
|
|
BlobNum int `json:"blob_num"`
|
|
|
|
BlobHash string `json:"blob_hash,omitempty"`
|
|
|
|
Iv string `json:"iv"`
|
|
|
|
} `json:"blobs"`
|
|
|
|
StreamType string `json:"stream_type"`
|
|
|
|
Key string `json:"key"`
|
|
|
|
SuggestedFileName string `json:"suggested_file_name"`
|
|
|
|
StreamHash string `json:"stream_hash"`
|
|
|
|
}
|