safari

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package safari loads cookies from Safari binary cookie stores.

Index

Constants

This section is empty.

Variables

View Source
var SafariBrowser = Browser{
	Name:               browsercfg.MustSafari("safari").Name,
	CookieFilePatterns: browsercfg.MustSafari("safari").CurrentCookiePatterns(),
}

SafariBrowser describes Safari.

Functions

This section is empty.

Types

type Browser

type Browser struct {
	Name               string
	CookieFilePatterns []string
}

Browser describes Safari cookie store locations.

type Loader

type Loader struct{}

Loader reads Safari binary cookie stores.

func NewLoader

func NewLoader() Loader

NewLoader builds a Safari loader.

func (Loader) Load

func (Loader) Load(browser Browser, cookieFiles, domains []string) ([]*http.Cookie, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL