initial commit

This commit is contained in:
2024-12-07 03:53:46 -05:00
commit cbd6682257
9 changed files with 370 additions and 0 deletions

20
cookiejar.go Normal file
View File

@@ -0,0 +1,20 @@
package extractor
import (
"time"
)
type Cookie struct {
Name string
Value string
Domain string
Path string
Expires time.Time
Secure bool
HttpOnly bool
}
type CookieJar interface {
GetAll() ([]Cookie, error)
Set(cookie Cookie) error
Delete(cookie Cookie) error
}