Documentation ¶
Index ¶
- func DefaultPicsDir() string
- type Screenshot
- func (scrns *Screenshot) Close() error
- func (scrns *Screenshot) OnJournalEvent(e watched.JounalEvent) (err error)
- func (scrns *Screenshot) OnStatusEvent(e watched.StatusEvent) error
- func (scrns *Screenshot) OutDir(t time.Time, sys, body string) string
- func (scrns *Screenshot) OutFilePat(t time.Time, sys, body string) string
- func (scrns *Screenshot) ScrShot(name string) (path string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultPicsDir ¶
func DefaultPicsDir() string
Types ¶
type Screenshot ¶
type Screenshot struct { EDPicDir string OutRoot string Aspect float64 JpegQuality int SubstOrig bool RmOrig bool FID string Cmdr string }
func (*Screenshot) Close ¶
func (scrns *Screenshot) Close() error
func (*Screenshot) OnJournalEvent ¶ added in v0.6.4
func (scrns *Screenshot) OnJournalEvent(e watched.JounalEvent) (err error)
func (*Screenshot) OnStatusEvent ¶ added in v0.6.4
func (scrns *Screenshot) OnStatusEvent(e watched.StatusEvent) error
func (*Screenshot) OutFilePat ¶
func (scrns *Screenshot) OutFilePat(t time.Time, sys, body string) string
func (*Screenshot) ScrShot ¶
func (scrns *Screenshot) ScrShot(name string) (path string)
Click to show internal directories.
Click to hide internal directories.