warc

package
v0.0.0-...-02e7294 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(c *warcConfig)

func WithPrefix

func WithPrefix(prefix string) Option

type WARCOutput

type WARCOutput struct {
	// contains filtered or unexported fields
}

func NewOutput

func NewOutput(directory string, opts ...Option) (*WARCOutput, error)

func (*WARCOutput) Close

func (o *WARCOutput) Close() error

func (*WARCOutput) Request

func (o *WARCOutput) Request(req *http.Request) error

func (*WARCOutput) Response

func (o *WARCOutput) Response(req *http.Request, res *http.Response) error

Jump to

Keyboard shortcuts

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