From 939284194d163015a799cb952c04c14e204bf85c Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 23 Mar 2025 18:19:58 +0800 Subject: Rename token -> identifier --- token.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'token.go') diff --git a/token.go b/token.go index 480fcd0..6da0e7c 100644 --- a/token.go +++ b/token.go @@ -11,7 +11,7 @@ import ( "time" ) -func makeSignedToken(request *http.Request) (identifier []byte, mac []byte) { +func makeIdentifierMAC(request *http.Request) (identifier []byte, mac []byte) { identifier = make([]byte, 0, sha256.Size) mac = make([]byte, 0, sha256.Size) -- cgit v1.2.3