Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteRequest ¶
type DeleteRequest struct {
Key string
}
type DeleteResponse ¶
type DeleteResponse struct { }
type Driver ¶
type Driver interface { PutPayload(context.Context, *PutRequest) (*PutResponse, error) GetPayload(context.Context, *GetRequest) (*GetResponse, error) ExistPayload(context.Context, *ExistRequest) (*ExistResponse, error) DeletePayload(context.Context, *DeleteRequest) (*DeleteResponse, error) }
type ErrBlobNotFound ¶
type ErrBlobNotFound struct {
Err error
}
func (*ErrBlobNotFound) Error ¶
func (m *ErrBlobNotFound) Error() string
type ExistRequest ¶
type ExistRequest struct {
Key string
}
type ExistResponse ¶
type ExistResponse struct {
Exists bool
}
type GetRequest ¶
type GetResponse ¶
type GetResponse struct {
ContentLength uint64
}
type PutRequest ¶
type PutResponse ¶
type PutResponse struct { // Key used to retrieve the stored data via a GetRequest. Key string }
type Validatable ¶
Click to show internal directories.
Click to hide internal directories.