feat: add doc for interface function. Close #23

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2020-08-01 16:58:32 +08:00
parent e4838d0a46
commit 0467ca6bfd
3 changed files with 17 additions and 1 deletions
+9
View File
@@ -19,10 +19,19 @@ import (
)
type Item interface {
// ChromeParse parse chrome items, Password and Cookie need secret key
ChromeParse(key []byte) error
// FirefoxParse parse firefox items
FirefoxParse() error
// OutPut with json or csv
OutPut(format, browser, dir string) error
// Copy item file to local path
CopyItem() error
// Release item file
Release() error
}