initial commit
This commit is contained in:
20
cookiejar.go
Normal file
20
cookiejar.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user