Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultMaxBytes int64 = 100 << 20
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FetchOptions ¶
type FetchStats ¶
type FetchStats struct {
Attachments int `json:"attachments"`
Fetched int `json:"fetched"`
Reused int `json:"reused"`
Skipped int `json:"skipped"`
Failed int `json:"failed"`
Bytes int64 `json:"bytes"`
}
func Fetch ¶
func Fetch(ctx context.Context, s *store.Store, opts FetchOptions) (FetchStats, error)
Click to show internal directories.
Click to hide internal directories.