Documentation ¶
Index ¶
- func AddExtension(caps CapsExtensionAdder, path string) error
- func AddUnpackedExtension(caps CapsUnpackedExtensionAdder, basePath string) error
- func Md5Str(hashing string) string
- func SetProxy(caps CapsExtAdder, proxy string) error
- func SetProxyZip(caps CapsExtAdder, proxy string) error
- func СreateZipFromFolder(location string, zipfilename string) error
- type CapsExtAdder
- type CapsExtensionAdder
- type CapsUnpackedExtensionAdder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddExtension ¶
func AddExtension(caps CapsExtensionAdder, path string) error
func AddUnpackedExtension ¶
func AddUnpackedExtension(caps CapsUnpackedExtensionAdder, basePath string) error
func SetProxy ¶
func SetProxy(caps CapsExtAdder, proxy string) error
SetProxy build a proxy unpacked extension for browser and than inject it in browser capabilities. It also creates temporary folder `tmp`. in this version of method empty proxy do not fires an error.
func SetProxyZip ¶ added in v0.2.7
func SetProxyZip(caps CapsExtAdder, proxy string) error
SetProxyZip build a proxy ZIP extension for browser and than inject it in browser capabilities. It also creates temporary folder `tmp`. in this version of method empty proxy do not fires an error.
func СreateZipFromFolder ¶ added in v0.2.7
СreateZipFromFolder создает zip архив zipfilename из директории location и в случае ошибки возвращает error.
Types ¶
type CapsExtAdder ¶
type CapsExtAdder interface { CapsExtensionAdder CapsUnpackedExtensionAdder }
type CapsExtensionAdder ¶
Click to show internal directories.
Click to hide internal directories.