Documentation ¶
Overview ¶
Package protocol contains types for Camlistore protocol types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigResponse ¶
type ConfigResponse struct { Data *blobserver.Config `json:"Data"` Error map[string]string `json:"Error,omitempty"` }
ConfigResponse is the JSON document returned storage config handler.
type RemoveResponse ¶
type RemoveResponse struct { Removed []blob.Ref `json:"Data"` Error map[string]string `json:"Error,omitempty"` }
RemoveResponse is the JSON document returned from the blob batch remove handler.
func (*RemoveResponse) MarshalJSON ¶
func (p *RemoveResponse) MarshalJSON() ([]byte, error)
type StatResponse ¶
type StatResponse struct { Stat []RefInfo `json:"Data"` Error map[string]string `json:"Error,omitempty"` }
StatResponse is the JSON document returned from the blob batch stat handler.
func (*StatResponse) MarshalJSON ¶
func (p *StatResponse) MarshalJSON() ([]byte, error)
type UploadResponse ¶
type UploadResponse struct { Received []RefInfo `json:"Data"` Error map[string]string `json:"Error,omitempty"` }
UploadResponse is the JSON document returned from the blob batch upload handler.
func (*UploadResponse) MarshalJSON ¶
func (p *UploadResponse) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.