mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-23 19:14:01 +02:00
feat: add doc for interface function. Close #23
This commit is contained in:
@@ -18,9 +18,16 @@ const (
|
||||
)
|
||||
|
||||
type Browser interface {
|
||||
// InitSecretKey is init chrome secret key, firefox's key always empty
|
||||
InitSecretKey() error
|
||||
|
||||
// GetName return browser name
|
||||
GetName() string
|
||||
|
||||
// GetSecretKey return browser secret key
|
||||
GetSecretKey() []byte
|
||||
|
||||
// GetAllItems, default return all of items(password|bookmark|cookie|history)
|
||||
GetAllItems(itemName string) ([]common.Item, error)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user