Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyb3r-jak3/go_har
GoLang Module for parsing HAR Files
https://github.com/cyb3r-jak3/go_har
Last synced: about 4 hours ago
JSON representation
GoLang Module for parsing HAR Files
- Host: GitHub
- URL: https://github.com/cyb3r-jak3/go_har
- Owner: Cyb3r-Jak3
- License: mpl-2.0
- Created: 2020-09-16T22:53:42.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-05T14:36:03.000Z (3 months ago)
- Last Synced: 2024-08-05T17:00:32.869Z (3 months ago)
- Language: Go
- Homepage:
- Size: 6.4 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GO_HAR
![Go](https://github.com/Cyb3r-Jak3/go_har/workflows/Go/badge.svg?branch=master) [![Go Report Card](https://goreportcard.com/badge/github.com/Cyb3r-Jak3/go_har)](https://goreportcard.com/report/github.com/Cyb3r-Jak3/go_har) [![GoDoc](https://godoc.org/github.com/Cyb3r-Jak3/go_har?status.svg)](https://godoc.org/github.com/Cyb3r-Jak3/go_har)
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/Cyb3r-Jak3/go_har?style=flat-square) ![GitHub](https://img.shields.io/github/license/Cyb3r-Jak3/go_har?style=flat-square)
[![DeepSource](https://deepsource.io/gh/Cyb3r-Jak3/go_har.svg/?label=active+issues&show_trend=true)](https://deepsource.io/gh/Cyb3r-Jak3/go_har/?ref=repository-badge) [![DeepSource](https://deepsource.io/gh/Cyb3r-Jak3/go_har.svg/?label=resolved+issues&show_trend=true)](https://deepsource.io/gh/Cyb3r-Jak3/go_har/?ref=repository-badge)
---HAR is a GoLang module that parses HTTP Archive files and allows for easy access to pages and entries.
## Requirements
Go 1.16+
#### Support
This module is tested with GO versions 1.16, 1.17, 1.18. It is tested with HAR files from [Firefox](testdata/Firefox.har) and [Chrome](testdata/Chrome.har). PRs containing HAR files from other browsers are welcome.
## Getting started
#### Download
`go get -u github.com/Cyb3r-Jak3/go_har/v2`
#### Using
```golang
import "github.com/Cyb3r-Jak3/go_har/v2"...
harFile, err := har.ParseHar("")
if err != nil {
log.Fatal(err)
}
```[example](example/simple/main.go)