aboutsummaryrefslogtreecommitdiff
path: root/lib/paseto/peer.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-03-30 19:38:32 +0700
committerShulhan <ms@kilabit.info>2026-03-30 21:07:31 +0700
commit7af6aa612bc60df120d7580c9e436b24d2326394 (patch)
tree3dcff3ecc05c43c33653c511aff7925a1258965b /lib/paseto/peer.go
parent61a44bf239f5545080af83f890d488ceaf257a80 (diff)
downloadpakakeh.go-7af6aa612bc60df120d7580c9e436b24d2326394.tar.xz
lib/paseto: rename the field Public and Private in Peer
Diffstat (limited to 'lib/paseto/peer.go')
-rw-r--r--lib/paseto/peer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/paseto/peer.go b/lib/paseto/peer.go
index 8c077bb7..55d3bdb0 100644
--- a/lib/paseto/peer.go
+++ b/lib/paseto/peer.go
@@ -18,8 +18,8 @@ type Peer struct {
ID string
// PrivateKey for signing message.
- Private ed25519.PrivateKey
+ PrivateKey ed25519.PrivateKey
// PublicKey for verifying message.
- Public ed25519.PublicKey
+ PublicKey ed25519.PublicKey
}