Documentation
¶
Index ¶
- type BreachWatchRecordStorage
- type BreachWatchSecurityData
- type EncryptedData
- type EnterpriseEntityData
- type EnterpriseSettings
- type FolderRecordStorage
- type FolderStorage
- func (f *FolderStorage) Data() []byte
- func (f *FolderStorage) FolderKey() []byte
- func (f *FolderStorage) FolderType() string
- func (f *FolderStorage) FolderUid() string
- func (f *FolderStorage) KeyType() int32
- func (f *FolderStorage) ParentUid() string
- func (f *FolderStorage) Revision() int64
- func (f *FolderStorage) SharedFolderUid() string
- func (f *FolderStorage) Uid() string
- type NonSharedDataStorage
- type RecordKeyStorage
- func (rks *RecordKeyStorage) CanEdit() bool
- func (rks *RecordKeyStorage) CanShare() bool
- func (rks *RecordKeyStorage) EncrypterUid() string
- func (rks *RecordKeyStorage) ExpirationTime() int64
- func (rks *RecordKeyStorage) KeyType() int32
- func (rks *RecordKeyStorage) ObjectUid() string
- func (rks *RecordKeyStorage) Owner() bool
- func (rks *RecordKeyStorage) OwnerAccountUid() string
- func (rks *RecordKeyStorage) RecordKey() []byte
- func (rks *RecordKeyStorage) RecordUid() string
- func (rks *RecordKeyStorage) SubjectUid() string
- type RecordStorage
- func (r *RecordStorage) Data() []byte
- func (r *RecordStorage) Extra() []byte
- func (r *RecordStorage) ModifiedTime() int64
- func (r *RecordStorage) RecordUid() string
- func (r *RecordStorage) Revision() int64
- func (r *RecordStorage) SetShared(shared bool)
- func (r *RecordStorage) Shared() bool
- func (r *RecordStorage) UData() string
- func (r *RecordStorage) Uid() string
- func (r *RecordStorage) Version() int32
- type RecordTypeContent
- type RecordTypeField
- type RecordTypeStorage
- type SharedFolderKeyStorage
- func (sfk *SharedFolderKeyStorage) EncrypterUid() string
- func (sfk *SharedFolderKeyStorage) KeyType() int32
- func (sfk *SharedFolderKeyStorage) ObjectUid() string
- func (sfk *SharedFolderKeyStorage) SharedFolderKey() []byte
- func (sfk *SharedFolderKeyStorage) SharedFolderUid() string
- func (sfk *SharedFolderKeyStorage) SubjectUid() string
- type SharedFolderPermissionStorage
- func (sfp *SharedFolderPermissionStorage) ExpirationTime() int64
- func (sfp *SharedFolderPermissionStorage) ManageRecords() bool
- func (sfp *SharedFolderPermissionStorage) ManageUsers() bool
- func (sfp *SharedFolderPermissionStorage) ObjectUid() string
- func (sfp *SharedFolderPermissionStorage) SharedFolderUid() string
- func (sfp *SharedFolderPermissionStorage) SubjectUid() string
- func (sfp *SharedFolderPermissionStorage) UserType() int32
- func (sfp *SharedFolderPermissionStorage) UserUid() string
- type SharedFolderStorage
- func (sf *SharedFolderStorage) Data() []byte
- func (sf *SharedFolderStorage) DefaultCanEdit() bool
- func (sf *SharedFolderStorage) DefaultCanShare() bool
- func (sf *SharedFolderStorage) DefaultManageRecords() bool
- func (sf *SharedFolderStorage) DefaultManageUsers() bool
- func (sf *SharedFolderStorage) Name() []byte
- func (sf *SharedFolderStorage) OwnerAccountUid() string
- func (sf *SharedFolderStorage) Revision() (revision int64)
- func (sf *SharedFolderStorage) SharedFolderUid() string
- func (sf *SharedFolderStorage) Uid() string
- type SsoToken
- type TeamStorage
- func (t *TeamStorage) KeyType() int32
- func (t *TeamStorage) Name() string
- func (t *TeamStorage) RestrictEdit() (b bool)
- func (t *TeamStorage) RestrictShare() (b bool)
- func (t *TeamStorage) RestrictView() (b bool)
- func (t *TeamStorage) TeamKey() []byte
- func (t *TeamStorage) TeamPrivateKey() []byte
- func (t *TeamStorage) TeamUid() string
- func (t *TeamStorage) Uid() string
- type UserEmailStorage
- type UserSettingsStorage
- func (us *UserSettingsStorage) ContinuationToken() []byte
- func (us *UserSettingsStorage) ProfileData() []byte
- func (us *UserSettingsStorage) ProfileName() string
- func (us *UserSettingsStorage) ProfileUrl() string
- func (us *UserSettingsStorage) SetContinuationToken(token []byte)
- func (us *UserSettingsStorage) SetProfileData(data []byte)
- func (us *UserSettingsStorage) SetProfileName(name string)
- func (us *UserSettingsStorage) SetProfileUrl(url string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BreachWatchRecordStorage ¶
type BreachWatchRecordStorage struct {
RecordUid_ string `db:"record_uid"`
Data_ []byte `db:"data"`
Type_ int32 `db:"type"`
Revision_ int64 `db:"revision"`
}
func (*BreachWatchRecordStorage) Data ¶
func (bwr *BreachWatchRecordStorage) Data() []byte
func (*BreachWatchRecordStorage) RecordUid ¶
func (bwr *BreachWatchRecordStorage) RecordUid() string
func (*BreachWatchRecordStorage) Revision ¶
func (bwr *BreachWatchRecordStorage) Revision() int64
func (*BreachWatchRecordStorage) Type ¶
func (bwr *BreachWatchRecordStorage) Type() int32
func (*BreachWatchRecordStorage) Uid ¶
func (bwr *BreachWatchRecordStorage) Uid() string
type BreachWatchSecurityData ¶
type BreachWatchSecurityData struct {
RecordUid_ string `db:"record_uid"`
Revision_ int64 `db:"revision"`
}
func (*BreachWatchSecurityData) RecordUid ¶
func (bwsd *BreachWatchSecurityData) RecordUid() string
func (*BreachWatchSecurityData) Revision ¶
func (bwsd *BreachWatchSecurityData) Revision() int64
func (*BreachWatchSecurityData) Uid ¶
func (bwsd *BreachWatchSecurityData) Uid() string
type EncryptedData ¶
type EncryptedData struct {
DisplayName string `json:"displayname,omitempty"`
}
type EnterpriseEntityData ¶
type EnterpriseSettings ¶
type FolderRecordStorage ¶
type FolderRecordStorage struct {
FolderUid_ string `db:"folder_uid"`
RecordUid_ string `db:"record_uid"`
}
func (*FolderRecordStorage) FolderUid ¶
func (fr *FolderRecordStorage) FolderUid() string
func (*FolderRecordStorage) ObjectUid ¶
func (fr *FolderRecordStorage) ObjectUid() string
func (*FolderRecordStorage) RecordUid ¶
func (fr *FolderRecordStorage) RecordUid() string
func (*FolderRecordStorage) SubjectUid ¶
func (fr *FolderRecordStorage) SubjectUid() string
type FolderStorage ¶
type FolderStorage struct {
FolderUid_ string `db:"folder_uid"`
ParentUid_ string `db:"parent_uid"`
FolderType_ string `db:"folder_type"`
FolderKey_ []byte `db:"folder_key"`
KeyType_ int32 `db:"key_type"`
Revision_ int64 `db:"revision"`
Data_ []byte `db:"data"`
}
func (*FolderStorage) Data ¶
func (f *FolderStorage) Data() []byte
func (*FolderStorage) FolderKey ¶
func (f *FolderStorage) FolderKey() []byte
func (*FolderStorage) FolderType ¶
func (f *FolderStorage) FolderType() string
func (*FolderStorage) FolderUid ¶
func (f *FolderStorage) FolderUid() string
func (*FolderStorage) KeyType ¶
func (f *FolderStorage) KeyType() int32
func (*FolderStorage) ParentUid ¶
func (f *FolderStorage) ParentUid() string
func (*FolderStorage) Revision ¶
func (f *FolderStorage) Revision() int64
func (*FolderStorage) SharedFolderUid ¶
func (f *FolderStorage) SharedFolderUid() string
func (*FolderStorage) Uid ¶
func (f *FolderStorage) Uid() string
type NonSharedDataStorage ¶
type NonSharedDataStorage struct {
}
func (*NonSharedDataStorage) Data ¶
func (nsd *NonSharedDataStorage) Data() []byte
func (*NonSharedDataStorage) RecordUid ¶
func (nsd *NonSharedDataStorage) RecordUid() string
func (*NonSharedDataStorage) Uid ¶
func (nsd *NonSharedDataStorage) Uid() string
type RecordKeyStorage ¶
type RecordKeyStorage struct {
RecordUid_ string `db:"record_uid"`
EncrypterUid_ string `db:"encrypter_uid"`
KeyType_ int32 `db:"key_type"`
RecordKey_ []byte `db:"record_key"`
CanEdit_ bool `db:"can_edit"`
ExpirationTime_ int64 `db:"expiration_time"`
Owner_ bool `db:"owner"`
OwnerAccountUid_ string `db:"owner_account_uid"`
}
func (*RecordKeyStorage) CanEdit ¶
func (rks *RecordKeyStorage) CanEdit() bool
func (*RecordKeyStorage) CanShare ¶
func (rks *RecordKeyStorage) CanShare() bool
func (*RecordKeyStorage) EncrypterUid ¶
func (rks *RecordKeyStorage) EncrypterUid() string
func (*RecordKeyStorage) ExpirationTime ¶
func (rks *RecordKeyStorage) ExpirationTime() int64
func (*RecordKeyStorage) KeyType ¶
func (rks *RecordKeyStorage) KeyType() int32
func (*RecordKeyStorage) ObjectUid ¶
func (rks *RecordKeyStorage) ObjectUid() string
func (*RecordKeyStorage) Owner ¶
func (rks *RecordKeyStorage) Owner() bool
func (*RecordKeyStorage) OwnerAccountUid ¶
func (rks *RecordKeyStorage) OwnerAccountUid() string
func (*RecordKeyStorage) RecordKey ¶
func (rks *RecordKeyStorage) RecordKey() []byte
func (*RecordKeyStorage) RecordUid ¶
func (rks *RecordKeyStorage) RecordUid() string
func (*RecordKeyStorage) SubjectUid ¶
func (rks *RecordKeyStorage) SubjectUid() string
type RecordStorage ¶
type RecordStorage struct {
RecordUid_ string `db:"record_uid"`
Revision_ int64 `db:"revision"`
Version_ int32 `db:"version"`
ModifiedTime_ int64 `db:"modified_time"`
Data_ []byte `db:"data"`
Extra_ []byte `db:"extra"`
UData_ string `db:"udata"`
}
func (*RecordStorage) Data ¶
func (r *RecordStorage) Data() []byte
func (*RecordStorage) Extra ¶
func (r *RecordStorage) Extra() []byte
func (*RecordStorage) ModifiedTime ¶
func (r *RecordStorage) ModifiedTime() int64
func (*RecordStorage) RecordUid ¶
func (r *RecordStorage) RecordUid() string
func (*RecordStorage) Revision ¶
func (r *RecordStorage) Revision() int64
func (*RecordStorage) SetShared ¶
func (r *RecordStorage) SetShared(shared bool)
func (*RecordStorage) Shared ¶
func (r *RecordStorage) Shared() bool
func (*RecordStorage) UData ¶
func (r *RecordStorage) UData() string
func (*RecordStorage) Uid ¶
func (r *RecordStorage) Uid() string
func (*RecordStorage) Version ¶
func (r *RecordStorage) Version() int32
type RecordTypeContent ¶
type RecordTypeContent struct {
Name string `json:"$id"`
Description string `json:"description"`
Fields []*RecordTypeField `json:"fields"`
}
type RecordTypeField ¶
type RecordTypeStorage ¶
type RecordTypeStorage struct {
Id_ int64 `db:"id"`
Scope_ int32 `db:"scope"`
Content_ string `db:"content"`
}
func (*RecordTypeStorage) Content ¶
func (f *RecordTypeStorage) Content() string
func (*RecordTypeStorage) Id ¶
func (f *RecordTypeStorage) Id() int64
func (*RecordTypeStorage) Scope ¶
func (f *RecordTypeStorage) Scope() int32
func (*RecordTypeStorage) Uid ¶
func (f *RecordTypeStorage) Uid() int64
type SharedFolderKeyStorage ¶
type SharedFolderKeyStorage struct {
}
func (*SharedFolderKeyStorage) EncrypterUid ¶
func (sfk *SharedFolderKeyStorage) EncrypterUid() string
func (*SharedFolderKeyStorage) KeyType ¶
func (sfk *SharedFolderKeyStorage) KeyType() int32
func (*SharedFolderKeyStorage) ObjectUid ¶
func (sfk *SharedFolderKeyStorage) ObjectUid() string
func (*SharedFolderKeyStorage) SharedFolderKey ¶
func (sfk *SharedFolderKeyStorage) SharedFolderKey() []byte
func (*SharedFolderKeyStorage) SharedFolderUid ¶
func (sfk *SharedFolderKeyStorage) SharedFolderUid() string
func (*SharedFolderKeyStorage) SubjectUid ¶
func (sfk *SharedFolderKeyStorage) SubjectUid() string
type SharedFolderPermissionStorage ¶
type SharedFolderPermissionStorage struct {
}
func (*SharedFolderPermissionStorage) ExpirationTime ¶
func (sfp *SharedFolderPermissionStorage) ExpirationTime() int64
func (*SharedFolderPermissionStorage) ManageRecords ¶
func (sfp *SharedFolderPermissionStorage) ManageRecords() bool
func (*SharedFolderPermissionStorage) ManageUsers ¶
func (sfp *SharedFolderPermissionStorage) ManageUsers() bool
func (*SharedFolderPermissionStorage) ObjectUid ¶
func (sfp *SharedFolderPermissionStorage) ObjectUid() string
func (*SharedFolderPermissionStorage) SharedFolderUid ¶
func (sfp *SharedFolderPermissionStorage) SharedFolderUid() string
func (*SharedFolderPermissionStorage) SubjectUid ¶
func (sfp *SharedFolderPermissionStorage) SubjectUid() string
func (*SharedFolderPermissionStorage) UserType ¶
func (sfp *SharedFolderPermissionStorage) UserType() int32
func (*SharedFolderPermissionStorage) UserUid ¶
func (sfp *SharedFolderPermissionStorage) UserUid() string
type SharedFolderStorage ¶
type SharedFolderStorage struct {
}
func (*SharedFolderStorage) Data ¶
func (sf *SharedFolderStorage) Data() []byte
func (*SharedFolderStorage) DefaultCanEdit ¶
func (sf *SharedFolderStorage) DefaultCanEdit() bool
func (*SharedFolderStorage) DefaultCanShare ¶
func (sf *SharedFolderStorage) DefaultCanShare() bool
func (*SharedFolderStorage) DefaultManageRecords ¶
func (sf *SharedFolderStorage) DefaultManageRecords() bool
func (*SharedFolderStorage) DefaultManageUsers ¶
func (sf *SharedFolderStorage) DefaultManageUsers() bool
func (*SharedFolderStorage) Name ¶
func (sf *SharedFolderStorage) Name() []byte
func (*SharedFolderStorage) OwnerAccountUid ¶
func (sf *SharedFolderStorage) OwnerAccountUid() string
func (*SharedFolderStorage) Revision ¶
func (sf *SharedFolderStorage) Revision() (revision int64)
func (*SharedFolderStorage) SharedFolderUid ¶
func (sf *SharedFolderStorage) SharedFolderUid() string
func (*SharedFolderStorage) Uid ¶
func (sf *SharedFolderStorage) Uid() string
type SsoToken ¶
type SsoToken struct {
Command string `json:"command"`
Result string `json:"result"`
Email string `json:"email"`
Password string `json:"password"`
NewPassword string `json:"new_password"`
ProviderName string `json:"provider_name"`
SessionId string `json:"session_id"`
LoginToken string `json:"login_token"`
}
type TeamStorage ¶
type TeamStorage struct {
TeamUid_ string `db:"team_uid"`
Name_ string `db:"name"`
TeamKey_ []byte `db:"team_key"`
KeyType_ int32 `db:"key_type"`
TeamPrivateKey_ []byte `db:"team_private_key"`
RestrictEdit_ bool `db:"restrict_edit"`
RestrictView_ bool `db:"restrict_view"`
}
func (*TeamStorage) KeyType ¶
func (t *TeamStorage) KeyType() int32
func (*TeamStorage) Name ¶
func (t *TeamStorage) Name() string
func (*TeamStorage) RestrictEdit ¶
func (t *TeamStorage) RestrictEdit() (b bool)
func (*TeamStorage) RestrictShare ¶
func (t *TeamStorage) RestrictShare() (b bool)
func (*TeamStorage) RestrictView ¶
func (t *TeamStorage) RestrictView() (b bool)
func (*TeamStorage) TeamKey ¶
func (t *TeamStorage) TeamKey() []byte
func (*TeamStorage) TeamPrivateKey ¶
func (t *TeamStorage) TeamPrivateKey() []byte
func (*TeamStorage) TeamUid ¶
func (t *TeamStorage) TeamUid() string
func (*TeamStorage) Uid ¶
func (t *TeamStorage) Uid() string
type UserEmailStorage ¶
func (*UserEmailStorage) AccountUid ¶
func (ues *UserEmailStorage) AccountUid() string
func (*UserEmailStorage) Email ¶
func (ues *UserEmailStorage) Email() string
func (*UserEmailStorage) ObjectUid ¶
func (ues *UserEmailStorage) ObjectUid() string
func (*UserEmailStorage) SubjectUid ¶
func (ues *UserEmailStorage) SubjectUid() string
type UserSettingsStorage ¶
type UserSettingsStorage struct {
ContinuationToken_ []byte `db:"continuation_token"`
ProfileData_ []byte `db:"profile_data"`
ProfileName_ string `db:"profile_name"`
ProfileUrl_ string `db:"profile_url"`
}
func (*UserSettingsStorage) ContinuationToken ¶
func (us *UserSettingsStorage) ContinuationToken() []byte
func (*UserSettingsStorage) ProfileData ¶
func (us *UserSettingsStorage) ProfileData() []byte
func (*UserSettingsStorage) ProfileName ¶
func (us *UserSettingsStorage) ProfileName() string
func (*UserSettingsStorage) ProfileUrl ¶
func (us *UserSettingsStorage) ProfileUrl() string
func (*UserSettingsStorage) SetContinuationToken ¶
func (us *UserSettingsStorage) SetContinuationToken(token []byte)
func (*UserSettingsStorage) SetProfileData ¶
func (us *UserSettingsStorage) SetProfileData(data []byte)
func (*UserSettingsStorage) SetProfileName ¶
func (us *UserSettingsStorage) SetProfileName(name string)
func (*UserSettingsStorage) SetProfileUrl ¶
func (us *UserSettingsStorage) SetProfileUrl(url string)
Click to show internal directories.
Click to hide internal directories.