go-extractor/cookiejar.go

21 lines
292 B
Go
Raw Normal View History

2024-12-07 03:53:46 -05:00
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
}