Documentation ¶
Index ¶
- Variables
- type Archiver
- func (arc *Archiver) ByRemote(addr string) *Archiver
- func (arc *Archiver) SetAuthor(author string) *Archiver
- func (arc *Archiver) Wayback(ctx context.Context, input *url.URL) (dst string, err error)
- func (arc *Archiver) WithArticle(ctx context.Context, art readability.Article) context.Context
- func (arc *Archiver) WithShot(ctx context.Context, shot *screenshot.Screenshots[screenshot.Path]) context.Context
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Functions ¶
This section is empty.
Types ¶
type Archiver ¶
type Archiver struct { sync.RWMutex Author string Client *http.Client // contains filtered or unexported fields }
func (*Archiver) WithArticle ¶
WithArticle puts a readability.Article into context.
func (*Archiver) WithShot ¶
func (arc *Archiver) WithShot(ctx context.Context, shot *screenshot.Screenshots[screenshot.Path]) context.Context
WithShot puts a screenshot.Screenshots into context.
Click to show internal directories.
Click to hide internal directories.