https://github.com/yogeshpandey/gocookie-string-reader
Cookie parser for go
https://github.com/yogeshpandey/gocookie-string-reader
cookie-parser go
Last synced: about 1 year ago
JSON representation
Cookie parser for go
- Host: GitHub
- URL: https://github.com/yogeshpandey/gocookie-string-reader
- Owner: yogeshpandey
- Created: 2018-04-03T10:29:24.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-05-29T17:16:58.000Z (almost 7 years ago)
- Last Synced: 2025-01-26T15:15:34.266Z (about 1 year ago)
- Topics: cookie-parser, go
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cookie string parser for go
Reads cookie string into http.Cookie
## Getting Started
Get library
```bash
go get github.com/yogeshpandey/gocookie-string-reader
```
Use library
```go
import cookieParser "github.com/yogeshpandey/gocookie-string-reader"
import "fmt"
c:=cookieParser.ParseToCookie("Cookie-1=v$1; c2=v2")
fmt.Println("%#v",c)
```