Documentation ¶
Index ¶
- type Cache
- type ForRestore
- func (r *ForRestore) MarshalBinary() ([]byte, error)
- func (r *ForRestore) MarshalEasyJSON(w *jwriter.Writer)
- func (r ForRestore) MarshalText() ([]byte, error)
- func (r ForRestore) URLSafe() string
- func (r *ForRestore) UnmarshalBinary(data []byte) error
- func (r *ForRestore) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (r *ForRestore) UnmarshalText(text []byte) error
- func (r ForRestore) Verify(ctx context.Context, reader io.ReadSeeker) error
- type ForUpload
- func (u ForUpload) ContentLength() int64
- func (u *ForUpload) ForRestore() ForRestore
- func (u *ForUpload) MarshalBinary() ([]byte, error)
- func (u ForUpload) PartContentMD5(partNumber int64) string
- func (u ForUpload) PartContentSHA256(partNumber int64) string
- func (u ForUpload) PartLength(partNumber int64) int64
- func (u ForUpload) PartOffset(partNumber int64) int64
- func (u *ForUpload) Parts() int64
- func (u *ForUpload) URLSafe() string
- func (u *ForUpload) UnmarshalBinary(data []byte) error
- type MismatchError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func OpenShared ¶
func OpenShared() *Cache
type ForRestore ¶
type ForRestore struct {
// contains filtered or unexported fields
}
func (*ForRestore) MarshalBinary ¶
func (r *ForRestore) MarshalBinary() ([]byte, error)
func (*ForRestore) MarshalEasyJSON ¶
func (r *ForRestore) MarshalEasyJSON(w *jwriter.Writer)
func (ForRestore) MarshalText ¶
func (r ForRestore) MarshalText() ([]byte, error)
func (ForRestore) URLSafe ¶
func (r ForRestore) URLSafe() string
func (*ForRestore) UnmarshalBinary ¶ added in v0.2.1
func (r *ForRestore) UnmarshalBinary(data []byte) error
func (*ForRestore) UnmarshalEasyJSON ¶
func (r *ForRestore) UnmarshalEasyJSON(l *jlexer.Lexer)
func (*ForRestore) UnmarshalText ¶
func (r *ForRestore) UnmarshalText(text []byte) error
func (ForRestore) Verify ¶
func (r ForRestore) Verify(ctx context.Context, reader io.ReadSeeker) error
type ForUpload ¶
type ForUpload struct {
// contains filtered or unexported fields
}
func (ForUpload) ContentLength ¶
func (*ForUpload) ForRestore ¶
func (u *ForUpload) ForRestore() ForRestore
func (*ForUpload) MarshalBinary ¶
func (ForUpload) PartContentMD5 ¶
func (ForUpload) PartContentSHA256 ¶
func (ForUpload) PartLength ¶
func (ForUpload) PartOffset ¶
func (*ForUpload) UnmarshalBinary ¶
type MismatchError ¶
type MismatchError struct {
// contains filtered or unexported fields
}
func (MismatchError) Error ¶
func (e MismatchError) Error() string
Click to show internal directories.
Click to hide internal directories.