Files
go-extractor/cookiejar.go
2024-12-07 03:53:46 -05:00

21 lines
292 B
Go

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
}