Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Screenshot ¶
type Screenshot struct {
Name string `json:"name"`
Url url.URL `json:"url"`
Type string `json:"type"`
CreatedAt time.Time `json:"created_at"`
Buf []byte `json:"buf"`
}
func GetScreenshot ¶
func GetScreenshot(site sites.Site) (s Screenshot, err error)
func (Screenshot) Id ¶
func (s Screenshot) Id() string
type Service ¶
type Service interface {
Set(task Task) error
Tasks() []scheduletasks.TaskMetadata
}
type Store ¶
type Store interface {
Set(Screenshot) error
Get(string) (Screenshot, error)
}
Click to show internal directories.
Click to hide internal directories.