Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Browser ¶
type Browser struct { M BrowserMap `json:"browserMap"` // contains filtered or unexported fields }
func LoadBrowser ¶
func (*Browser) Add ¶
func (f *Browser) Add(name BrowserName, data *BrowserInfo) error
func (*Browser) Fetch ¶
func (f *Browser) Fetch(name BrowserName) *BrowserInfo
func (*Browser) Remove ¶
func (f *Browser) Remove(name BrowserName) error
type BrowserInfo ¶
type BrowserInfo struct {
AppPath string `json:"appPath"`
}
func NewBrowserInfo ¶
func NewBrowserInfo(appPath string) *BrowserInfo
func (*BrowserInfo) Open ¶
func (f *BrowserInfo) Open(data *FavData) error
type BrowserMap ¶
type BrowserMap map[BrowserName]*BrowserInfo
type BrowserName ¶
type BrowserName string
func (BrowserName) String ¶
func (f BrowserName) String() string
Click to show internal directories.
Click to hide internal directories.