Popularity
0.9
Growing
Activity
0.0
Stable
6
1
1
Programming language: Go
License: MIT License
Tags:
Authentication & OAuth
cookiestxt alternatives and similar packages
Based on the "Authentication and OAuth" category.
Alternatively, view cookiestxt alternatives based on common mentions on social networks and blogs.
-
go-guardian
Go-Guardian is a golang library that provides a simple, clean, and idiomatic way to create powerful modern API and web authentication that supports LDAP, Basic, Bearer token and Certificate based authentication. -
signedvalue
Signed and timestamped strings compatible with Tornado's create_signed_value, decode_signed_value, and therefore set_secure_cookie and get_secure_cookie. -
go-email-normalizer
Golang library for providing a canonical representation of email address.
Get performance insights in less than 4 minutes
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Sponsored
scoutapm.com
Do you think we are missing an alternative of cookiestxt or a related project?
README
cookiestxt
cookiestxt implement parser of cookies txt format
Usage
package main
import (
"log"
"strings"
"github.com/mengzhuo/cookiestxt"
)
func main() {
buf := strings.NewReader(`
# This example taken from http://www.cookiecentral.com/faq/#3.5
#HttpOnly_.netscape.com TRUE / FALSE 946684799 NETSCAPE_ID 100103
`)
cl, err := cookiestxt.Parse(buf)
log.Print(cl, err)
}
$ go run main.go
[NETSCAPE_ID=100103; Path=/; Domain=netscape.com; Expires=Fri, 31 Dec 1999 23:59:59
GMT; HttpOnly] <nil>