Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeFileMetaList ¶
EncodeFileMetaList encodes a list of file metas
Types ¶
type FileMeta ¶
type FileMeta struct { FileName string IpfsHash string DataKey tribecrypto.FileBoxer WriteAccessList []ethcommon.Address // if empty --> everyone has write access to it }
FileMeta stores all data that is necessary to reach and read a file from IPFS
func DecodeFileMeta ¶
DecodeFileMeta decodes a single file meta
func DecodeFileMetaList ¶
DecodeFileMetaList decodes a list of file metas
func NewFileMeta ¶
NewFileMeta creates a new file meta
type GroupMeta ¶
type GroupMeta struct { Address ethCommon.Address Boxer tribecrypto.SymmetricKey }
GroupMeta stores the information that is necessary to be able to participate in a group's life and to read its shared files
Click to show internal directories.
Click to hide internal directories.