commit | 59f7323070c5bd99858fde80232f9fb5b08e597a | [log] [tgz] |
---|---|---|
author | Alexey Vilenski <bynovhack@gmail.com> | Wed Oct 07 21:06:36 2020 +0000 |
committer | Ian Lance Taylor <iant@golang.org> | Thu Oct 08 22:28:04 2020 +0000 |
tree | 5d3e67b0b38449617f76f866afa22e4ed0966bcc | |
parent | a7d1128ccaa05167332a625f69773af1a0c6b39c [diff] |
xsrftoken: add custom timeout support for valid func Added new function 'ValidFor' with custom token timeout support. Function 'Valid' will use default token timeout. Fixes golang/go#41438 Change-Id: I5cf0388aeed7ca34edcb0d3493c3e79c8ce19938 GitHub-Last-Rev: 3e3b5817964aebf5b804ceec6694ed500f439c1e GitHub-Pull-Request: golang/net#86 Reviewed-on: https://go-review.googlesource.com/c/net/+/260317 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Filippo Valsorda <filippo@golang.org>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.