mirror of
https://github.com/golang/net.git
synced 2026-03-31 10:27:08 +09:00
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: 3e3b581796
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>