Versions in this module Expand all Collapse all v1 v1.0.1 Jun 3, 2019 v1.0.0 Jun 2, 2019 Changes in this version + var CreateGroup uint = 2 + var CreateSea uint = 3 + var CreateUser uint = 1 + var GroupCreateDirectory uint = 21 + var GroupCreateFile uint = 20 + var GroupDeleteDirectory uint = 23 + var GroupDeleteFile uint = 22 + var GroupPublishKey uint = 27 + var GroupUpdateFileData uint = 25 + var GroupUpdateFileKey uint = 26 + var GroupUpdateFileName uint = 24 + var SeaConfirmOperations uint = 31 + var SeaStoreFile uint = 30 + var Unset uint = 0 + var UserCreateDirectory uint = 11 + var UserCreateFile uint = 10 + var UserDeleteDirectory uint = 13 + var UserDeleteFile uint = 12 + var UserMove uint = 18 + var UserPublishKey uint = 17 + var UserShare uint = 19 + var UserUpdateFileData uint = 15 + var UserUpdateFileKey uint = 16 + var UserUpdateName uint = 14 + type SeaStoragePayload struct + Action uint + FileInfo storage.FileInfo + Key string + Name string + PWD string + SeaOperations []sea.Operation + Target []string + UserOperations []user.Operation + func NewSeaStoragePayload(action uint, name string, PWD string, target []string, key string, ...) *SeaStoragePayload + func SeaStoragePayloadFromBytes(payloadData []byte) (*SeaStoragePayload, error) + func (ssp *SeaStoragePayload) ToBytes() []byte