Documentation
¶
Index ¶
- type AckNewEventsCountRequest
- type BatchCreateEventRequest
- type BatchEvent
- type BatchJoinsRequest
- type BoxApplication
- func (app *BoxApplication) AckNewEventsCount(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) BatchCreateEvent(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) BatchJoins(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) BoxUserContact(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) CountBoxFiles(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) CountBoxes(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) CountEvents(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) CountMessages(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) CountSavedFiles(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) CreateBox(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) CreateEvent(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) CreateOrgBox(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) CreateSavedFile(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) DeleteBox(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) DeleteSavedFile(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) DownloadEncryptedFile(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) GetBox(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) GetBoxPublic(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) GetBoxSettings(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) GetEncryptedKeyShare(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) GetKeyShare(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) GetOrgBox(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) GetVaultUsedSpace(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) ListBoxAccesses(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) ListBoxEvents(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) ListBoxFiles(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) ListBoxMembers(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) ListBoxMessages(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) ListBoxUsedSpace(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) ListBoxes(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) ListBoxesEnhanced(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) ListIdentitySavedFiles(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) ListUserStorageQuota(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app BoxApplication) NewIM() *events.IdentityMapper
- func (app *BoxApplication) UpdateBoxSettings(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) UploadEncryptedFile(ctx context.Context, genReq request.Request) (interface{}, error)
- func (app *BoxApplication) UploadSavedFile(ctx context.Context, genReq request.Request) (interface{}, error)
- type BoxKeyShareCreationData
- type BoxUserContactRequest
- type CountBoxFilesRequest
- type CountBoxesQuery
- type CountEventsRequest
- type CountMessagesQuery
- type CountSavedFilesRequest
- type CreateBoxRequest
- type CreateEventRequest
- type CreateOrgBoxRequest
- type CreateSavedFileRequest
- type DeleteBoxRequest
- type DeleteSavedFileRequest
- type DownloadEncryptedFileRequest
- type GetBoxPublicRequest
- type GetBoxRequest
- type GetBoxSettingsRequest
- type GetEncryptedKeyShareRequest
- type GetKeyShareRequest
- type GetOrgBoxRequest
- type GetVaultUsedSpaceRequest
- type ListBoxAccessesRequest
- type ListBoxEventsQuery
- type ListBoxFilesRequest
- type ListBoxMembersRequest
- type ListBoxMessagesQuery
- type ListBoxUsedSpaceRequest
- type ListBoxesEnhancedQuery
- type ListBoxesQuery
- type ListIdentitySavedFilesRequest
- type ListUserStorageQuotaRequest
- type PublicBoxView
- type UpdateBoxSettingsRequest
- type UploadEncryptedFileRequest
- type UploadSavedFileRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AckNewEventsCountRequest ¶
type AckNewEventsCountRequest struct { IdentityID string `json:"identity_id"` // contains filtered or unexported fields }
AckNewEventsCountRequest ...
func (*AckNewEventsCountRequest) BindAndValidate ¶
func (req *AckNewEventsCountRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type BatchCreateEventRequest ¶
type BatchCreateEventRequest struct { BatchType string `json:"batch_type"` Events []*BatchEvent `json:"events"` // contains filtered or unexported fields }
BatchCreateEventRequest ...
func (*BatchCreateEventRequest) BindAndValidate ¶
func (req *BatchCreateEventRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type BatchEvent ¶
type BatchEvent struct { Type string `json:"type"` Content types.JSON `json:"content"` ReferrerID *string `json:"referrer_id"` Extra null.JSON `json:"extra"` }
BatchEvent ...
func (BatchEvent) Validate ¶
func (req BatchEvent) Validate() error
Validate is a separated declared function so BatchEvent implements v.Validatable interface then BatchCreateEvent can use v.Each to validate them
type BatchJoinsRequest ¶
type BatchJoinsRequest struct { BoxIDs []string `json:"box_ids"` // contains filtered or unexported fields }
BatchJoinsRequest ...
func (*BatchJoinsRequest) BindAndValidate ¶
func (req *BatchJoinsRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type BoxApplication ¶
type BoxApplication struct { DB *sql.DB SSODB *sql.DB RedConn *redis.Client // contains filtered or unexported fields }
BoxApplication contains connectors and repositories to interact with all box module services
func NewBoxApplication ¶
func NewBoxApplication( boxDB *sql.DB, ssoDB *sql.DB, redConn *redis.Client, filesRepo files.FileStorageRepo, selfOrgID string, identityRepo external.IdentityRepo, cryptoRepo external.CryptoRepo, ) BoxApplication
NewBoxApplication constructor
func (*BoxApplication) AckNewEventsCount ¶
func (app *BoxApplication) AckNewEventsCount(ctx context.Context, genReq request.Request) (interface{}, error)
AckNewEventsCount ...
func (*BoxApplication) BatchCreateEvent ¶
func (app *BoxApplication) BatchCreateEvent(ctx context.Context, genReq request.Request) (interface{}, error)
BatchCreateEvent handles many event in a single request. a type batch is request so the event types are strict according to the type rule.
func (*BoxApplication) BatchJoins ¶
func (app *BoxApplication) BatchJoins(ctx context.Context, genReq request.Request) (interface{}, error)
BatchJoins handles many join events in a single request.
func (*BoxApplication) BoxUserContact ¶
func (app *BoxApplication) BoxUserContact(ctx context.Context, genReq request.Request) (interface{}, error)
BoxUserContact creates a new box and invite the contacted user
func (*BoxApplication) CountBoxFiles ¶
func (app *BoxApplication) CountBoxFiles(ctx context.Context, genReq request.Request) (interface{}, error)
CountBoxFiles ...
func (*BoxApplication) CountBoxes ¶
func (app *BoxApplication) CountBoxes(ctx context.Context, genReq request.Request) (interface{}, error)
CountBoxes ...
func (*BoxApplication) CountEvents ¶
func (app *BoxApplication) CountEvents(ctx context.Context, genReq request.Request) (interface{}, error)
CountEvents ...
func (*BoxApplication) CountMessages ¶
func (app *BoxApplication) CountMessages(ctx context.Context, genReq request.Request) (interface{}, error)
CountMessages ...
func (*BoxApplication) CountSavedFiles ¶
func (app *BoxApplication) CountSavedFiles(ctx context.Context, genReq request.Request) (interface{}, error)
CountSavedFiles ...
func (*BoxApplication) CreateBox ¶
func (app *BoxApplication) CreateBox(ctx context.Context, genReq request.Request) (interface{}, error)
CreateBox ...
func (*BoxApplication) CreateEvent ¶
func (app *BoxApplication) CreateEvent(ctx context.Context, genReq request.Request) (interface{}, error)
CreateEvent ...
func (*BoxApplication) CreateOrgBox ¶
func (app *BoxApplication) CreateOrgBox(ctx context.Context, genReq request.Request) (interface{}, error)
CreateBoxForOrg ...
func (*BoxApplication) CreateSavedFile ¶
func (app *BoxApplication) CreateSavedFile(ctx context.Context, genReq request.Request) (interface{}, error)
CreateSavedFile ...
func (*BoxApplication) DeleteBox ¶
func (app *BoxApplication) DeleteBox(ctx context.Context, genReq request.Request) (interface{}, error)
DeleteBox ...
func (*BoxApplication) DeleteSavedFile ¶
func (app *BoxApplication) DeleteSavedFile(ctx context.Context, genReq request.Request) (interface{}, error)
DeleteSavedFile ...
func (*BoxApplication) DownloadEncryptedFile ¶
func (app *BoxApplication) DownloadEncryptedFile(ctx context.Context, genReq request.Request) (interface{}, error)
DownloadEncryptedFile ...
func (*BoxApplication) GetBox ¶
GetBox ...
func (*BoxApplication) GetBoxPublic ¶
func (app *BoxApplication) GetBoxPublic(ctx context.Context, genReq request.Request) (interface{}, error)
GetBoxPublic returns public data. No access check performed
func (*BoxApplication) GetBoxSettings ¶
func (app *BoxApplication) GetBoxSettings(ctx context.Context, genReq request.Request) (interface{}, error)
GetBoxSettings ...
func (*BoxApplication) GetEncryptedKeyShare ¶
func (app *BoxApplication) GetEncryptedKeyShare(ctx context.Context, genReq request.Request) (interface{}, error)
GetEncryptedKeyShare ...
func (*BoxApplication) GetKeyShare ¶
func (app *BoxApplication) GetKeyShare(ctx context.Context, genReq request.Request) (interface{}, error)
GetKeyShare ...
func (*BoxApplication) GetOrgBox ¶
func (*BoxApplication) GetVaultUsedSpace ¶
func (app *BoxApplication) GetVaultUsedSpace(ctx context.Context, genReq request.Request) (interface{}, error)
GetVaultUsedSpace ...
func (*BoxApplication) ListBoxAccesses ¶
func (app *BoxApplication) ListBoxAccesses(ctx context.Context, genReq request.Request) (interface{}, error)
ListBoxAccesses ...
func (*BoxApplication) ListBoxEvents ¶
func (app *BoxApplication) ListBoxEvents(ctx context.Context, genReq request.Request) (interface{}, error)
ListBoxEvents ...
func (*BoxApplication) ListBoxFiles ¶
func (app *BoxApplication) ListBoxFiles(ctx context.Context, genReq request.Request) (interface{}, error)
ListBoxFiles ...
func (*BoxApplication) ListBoxMembers ¶
func (app *BoxApplication) ListBoxMembers(ctx context.Context, genReq request.Request) (interface{}, error)
ListBoxMembers ...
func (*BoxApplication) ListBoxMessages ¶
func (app *BoxApplication) ListBoxMessages(ctx context.Context, genReq request.Request) (interface{}, error)
ListBoxMessages ...
func (*BoxApplication) ListBoxUsedSpace ¶
func (app *BoxApplication) ListBoxUsedSpace(ctx context.Context, genReq request.Request) (interface{}, error)
ListBoxUsedSpace ...
func (*BoxApplication) ListBoxes ¶
func (app *BoxApplication) ListBoxes(ctx context.Context, genReq request.Request) (interface{}, error)
ListBoxes ...
func (*BoxApplication) ListBoxesEnhanced ¶
func (app *BoxApplication) ListBoxesEnhanced(ctx context.Context, genReq request.Request) (interface{}, error)
ListBoxesEnchanced ...
func (*BoxApplication) ListIdentitySavedFiles ¶
func (app *BoxApplication) ListIdentitySavedFiles(ctx context.Context, genReq request.Request) (interface{}, error)
ListIdentitySavedFiles ...
func (*BoxApplication) ListUserStorageQuota ¶
func (app *BoxApplication) ListUserStorageQuota(ctx context.Context, genReq request.Request) (interface{}, error)
ListUserStorageQuota ...
func (BoxApplication) NewIM ¶
func (app BoxApplication) NewIM() *events.IdentityMapper
NewIM constructor
func (*BoxApplication) UpdateBoxSettings ¶
func (app *BoxApplication) UpdateBoxSettings(ctx context.Context, genReq request.Request) (interface{}, error)
UpdateBoxSettings ...
type BoxKeyShareCreationData ¶
type BoxKeyShareCreationData struct {}
func (*BoxKeyShareCreationData) Validate ¶
func (x *BoxKeyShareCreationData) Validate() error
type BoxUserContactRequest ¶
type BoxUserContactRequest struct { ContactedIdentityID string `json:"identity_id"` Box struct { Title string `json:"title"` PublicKey string `json:"public_key"` } `json:"box"` InvitationShareHash string `json:"invitation_share_hash"` Share string `json:"misakey_share"` EncryptedInvitationKeyShare string `json:"encrypted_invitation_key_share"` } `json:"key_share"` Crypto struct { InvitationData null.JSON `json:"invitation_data"` } `json:"crypto"` // contains filtered or unexported fields }
BoxUserContactRequest ...
func (*BoxUserContactRequest) BindAndValidate ¶
func (req *BoxUserContactRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type CountBoxFilesRequest ¶
type CountBoxFilesRequest struct {
// contains filtered or unexported fields
}
CountBoxFilesRequest ...
func (*CountBoxFilesRequest) BindAndValidate ¶
func (req *CountBoxFilesRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type CountBoxesQuery ¶
type CountBoxesQuery struct { DataSubject *string `query:"data_subject" json:"-"` OwnerOrgID *string `query:"owner_org_id" json:"-"` DatatagID *string `query:"datatag_id" json:"-"` // to depreciate StrDatatagIDs *string `query:"datatag_ids" json:"-"` // contains filtered or unexported fields }
CountBoxesQuery ...
func (*CountBoxesQuery) BindAndValidate ¶
func (q *CountBoxesQuery) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type CountEventsRequest ¶
type CountEventsRequest struct {
// contains filtered or unexported fields
}
CountEventsRequest ...
func (*CountEventsRequest) BindAndValidate ¶
func (req *CountEventsRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type CountMessagesQuery ¶
type CountMessagesQuery struct { Type *string `query:"type" json:"-"` // contains filtered or unexported fields }
func (*CountMessagesQuery) BindAndValidate ¶
func (q *CountMessagesQuery) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type CountSavedFilesRequest ¶
type CountSavedFilesRequest struct {
IdentityID string `query:"identity_id" json:"-"`
}
CountSavedFilesRequest ...
func (*CountSavedFilesRequest) BindAndValidate ¶
func (req *CountSavedFilesRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type CreateBoxRequest ¶
type CreateBoxRequest struct { PublicKey string `json:"public_key"` Title string `json:"title"` OwnerOrgID *string `json:"owner_org_id"` }
CreateBoxRequest ...
func (*CreateBoxRequest) BindAndValidate ¶
func (req *CreateBoxRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type CreateEventRequest ¶
type CreateEventRequest struct { Type string `json:"type"` Content types.JSON `json:"content"` ReferrerID *string `json:"referrer_id"` Extra null.JSON `json:"extra"` MetadataForHandlers events.MetadataForUsedSpaceHandler // contains filtered or unexported fields }
CreateEventRequest ...
func (*CreateEventRequest) BindAndValidate ¶
func (req *CreateEventRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type CreateOrgBoxRequest ¶
type CreateOrgBoxRequest struct { PublicKey string `json:"public_key"` Title string `json:"title"` OwnerOrgID string `json:"owner_org_id"` DataSubject string `json:"data_subject"` DatatagID string `json:"datatag_id"` Crypto *struct { InvitationData null.JSON `json:"invitation_data"` Provisions crypto.ProvisionCreationMap `json:"provisions"` } `json:"crypto"` }
func (*CreateOrgBoxRequest) BindAndValidate ¶
func (req *CreateOrgBoxRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type CreateSavedFileRequest ¶
type CreateSavedFileRequest struct { EncryptedFileID string `json:"encrypted_file_id"` IdentityID string `json:"identity_id"` EncryptedMetadata string `json:"encrypted_metadata"` KeyFingerprint string `json:"key_fingerprint"` }
CreateSavedFileRequest ...
func (*CreateSavedFileRequest) BindAndValidate ¶
func (req *CreateSavedFileRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type DeleteBoxRequest ¶
type DeleteBoxRequest struct { UserConfirmation string `json:"user_confirmation"` // contains filtered or unexported fields }
DeleteBoxRequest ...
func (*DeleteBoxRequest) BindAndValidate ¶
func (req *DeleteBoxRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type DeleteSavedFileRequest ¶
type DeleteSavedFileRequest struct {
ID string
}
DeleteSavedFileRequest ...
func (*DeleteSavedFileRequest) BindAndValidate ¶
func (req *DeleteSavedFileRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type DownloadEncryptedFileRequest ¶
type DownloadEncryptedFileRequest struct {
// contains filtered or unexported fields
}
DownloadEncryptedFileRequest ...
func (*DownloadEncryptedFileRequest) BindAndValidate ¶
func (req *DownloadEncryptedFileRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type GetBoxPublicRequest ¶
type GetBoxPublicRequest struct { // contains filtered or unexported fields }
GetBoxPublicRequest ...
func (*GetBoxPublicRequest) BindAndValidate ¶
func (req *GetBoxPublicRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type GetBoxRequest ¶
type GetBoxRequest struct {
// contains filtered or unexported fields
}
GetBoxRequest ...
func (*GetBoxRequest) BindAndValidate ¶
func (req *GetBoxRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type GetBoxSettingsRequest ¶
type GetBoxSettingsRequest struct {
// contains filtered or unexported fields
}
GetBoxSettingsRequest ...
func (*GetBoxSettingsRequest) BindAndValidate ¶
func (req *GetBoxSettingsRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type GetEncryptedKeyShareRequest ¶
type GetEncryptedKeyShareRequest struct {
}GetEncryptedKeyShareRequest ...
func (*GetEncryptedKeyShareRequest) BindAndValidate ¶
func (req *GetEncryptedKeyShareRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type GetKeyShareRequest ¶
type GetKeyShareRequest struct {
// contains filtered or unexported fields
}
GetKeyShareRequest ...
func (*GetKeyShareRequest) BindAndValidate ¶
func (req *GetKeyShareRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type GetOrgBoxRequest ¶
type GetOrgBoxRequest struct {
// contains filtered or unexported fields
}
func (*GetOrgBoxRequest) BindAndValidate ¶
func (req *GetOrgBoxRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type GetVaultUsedSpaceRequest ¶
type GetVaultUsedSpaceRequest struct {
IdentityID string
}
GetVaultUsedSpaceRequest ...
func (*GetVaultUsedSpaceRequest) BindAndValidate ¶
func (req *GetVaultUsedSpaceRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type ListBoxAccessesRequest ¶
type ListBoxAccessesRequest struct {
// contains filtered or unexported fields
}
ListBoxAccessesRequest ...
func (*ListBoxAccessesRequest) BindAndValidate ¶
func (req *ListBoxAccessesRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type ListBoxEventsQuery ¶
type ListBoxEventsQuery struct { Offset int `query:"offset" json:"-"` Limit int `query:"limit" json:"-"` // contains filtered or unexported fields }
ListBoxEventsRequest ...
func (*ListBoxEventsQuery) BindAndValidate ¶
func (q *ListBoxEventsQuery) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type ListBoxFilesRequest ¶
type ListBoxFilesRequest struct { Offset int `query:"offset" json:"-"` Limit int `query:"limit" json:"-"` // contains filtered or unexported fields }
ListBoxFilesRequest ...
func (*ListBoxFilesRequest) BindAndValidate ¶
func (req *ListBoxFilesRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type ListBoxMembersRequest ¶
type ListBoxMembersRequest struct {
// contains filtered or unexported fields
}
ListBoxMembersRequest ...
func (*ListBoxMembersRequest) BindAndValidate ¶
func (req *ListBoxMembersRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type ListBoxMessagesQuery ¶
type ListBoxMessagesQuery struct { StrTypes *string `query:"types" json:"-"` Offset int `query:"offset" json:"-"` Limit int `query:"limit" json:"-"` // contains filtered or unexported fields }
func (*ListBoxMessagesQuery) BindAndValidate ¶
func (q *ListBoxMessagesQuery) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type ListBoxUsedSpaceRequest ¶
type ListBoxUsedSpaceRequest struct { // json tag is needed as without it BindAndValidate does not return the right Detail IdentityID string `query:"identity_id" json:"identity_id"` }
ListBoxUsedSpaceRequest ...
func (*ListBoxUsedSpaceRequest) BindAndValidate ¶
func (req *ListBoxUsedSpaceRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type ListBoxesEnhancedQuery ¶
type ListBoxesEnhancedQuery struct { StrDatatagIDs *string `query:"datatag_ids" json:"-"` DatatagID *string `query:"datatag_id" json:"-"` // NOTE: to depreciate OwnerOrgID *string `query:"owner_org_id" json:"-"` Offset int `query:"offset" json:"-"` Limit int `query:"limit" json:"-"` // contains filtered or unexported fields }
type ListBoxesEnhancedQuery ...
func (*ListBoxesEnhancedQuery) BindAndValidate ¶
func (q *ListBoxesEnhancedQuery) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type ListBoxesQuery ¶
type ListBoxesQuery struct { DataSubject *string `query:"data_subject" json:"-"` OwnerOrgID *string `query:"owner_org_id" json:"-"` StrDatatagIDs *string `query:"datatag_ids" json:"-"` Offset int `query:"offset" json:"-"` Limit int `query:"limit" json:"-"` // contains filtered or unexported fields }
type ListBoxesQuery ...
func (*ListBoxesQuery) BindAndValidate ¶
func (q *ListBoxesQuery) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type ListIdentitySavedFilesRequest ¶
type ListIdentitySavedFilesRequest struct { IdentityID string `query:"identity_id" json:"-"` Limit int `query:"limit" json:"-"` Offset int `query:"offset" json:"-"` }
ListIdentitySavedRequest ...
func (*ListIdentitySavedFilesRequest) BindAndValidate ¶
func (req *ListIdentitySavedFilesRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type ListUserStorageQuotaRequest ¶
type ListUserStorageQuotaRequest struct {
IdentityID string
}
ListUserStorageQuotaRequest ...
func (*ListUserStorageQuotaRequest) BindAndValidate ¶
func (req *ListUserStorageQuotaRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type PublicBoxView ¶
type PublicBoxView struct { Title string `json:"title"` Creator events.SenderView `json:"creator"` OwnerOrgID string `json:"owner_org_id"` }
PublicBoxView ...
type UpdateBoxSettingsRequest ¶
type UpdateBoxSettingsRequest struct { Muted bool `json:"muted"` // contains filtered or unexported fields }
UpdateBoxSettingsRequest ...
func (*UpdateBoxSettingsRequest) BindAndValidate ¶
func (req *UpdateBoxSettingsRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type UploadEncryptedFileRequest ¶
type UploadEncryptedFileRequest struct { MsgEncContent string `form:"msg_encrypted_content"` MsgPubKey string `form:"msg_public_key"` // contains filtered or unexported fields }
UploadEncryptedFileRequest ...
func (*UploadEncryptedFileRequest) BindAndValidate ¶
func (req *UploadEncryptedFileRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
type UploadSavedFileRequest ¶
type UploadSavedFileRequest struct { EncryptedMetadata string `form:"encrypted_metadata"` KeyFingerprint string `form:"key_fingerprint"` // contains filtered or unexported fields }
UploadSavedFileRequest ...
func (*UploadSavedFileRequest) BindAndValidate ¶
func (req *UploadSavedFileRequest) BindAndValidate(eCtx echo.Context) error
BindAndValidate ...
Source Files
¶
- ack_new_events_count.go
- application.go
- batch_create_events.go
- box_user_contact.go
- count_box_files.go
- count_boxes.go
- count_events.go
- count_saved_files.go
- create_box.go
- create_event.go
- create_saved_file.go
- delete_box.go
- delete_saved_file.go
- download_encrypted_file.go
- get_box.go
- get_box_public.go
- get_box_settings.go
- get_encrypted_key_share.go
- get_key_share.go
- get_vault_used_space.go
- helpers.go
- list_box_accesses.go
- list_box_events.go
- list_box_files.go
- list_box_members.go
- list_box_used_space.go
- list_boxes.go
- list_identity_saved_files.go
- list_user_storage_quota.go
- update_box_settings.go
- upload_encrypted_file.go
- upload_saved_file.go