style: gofmt console.go
This commit is contained in:
1 parent
19b76044ff
commit
1967e966ce
1 file changed
+1
-1
@@ -21,7 +21,7 @@ func sessionHMACKey() ([]byte, error) {
|
||||
return mac.Sum(nil), nil
|
||||
}
|
||||
|
||||
func b64(b []byte) string { return base64.RawURLEncoding.EncodeToString(b) }
|
||||
func b64(b []byte) string { return base64.RawURLEncoding.EncodeToString(b) }
|
||||
|
||||
// SignSessionToken returns a signed, expiring token binding a session id.
|
||||
func SignSessionToken(sessionID string, ttl time.Duration) (string, error) {
|
||||
|
||||
Reference in new issue
Block a user