monorepo fixes

This commit is contained in:
adman
2025-12-15 22:46:34 +01:00
parent 6108534a12
commit c58dbbe5b0
83 changed files with 2273 additions and 2042 deletions
+4 -3
View File
@@ -5,17 +5,18 @@ import (
"crypto/x509"
"encoding/pem"
"github.com/admin-else/strom/api"
"github.com/google/uuid"
)
type SecureChatSession struct {
Account *Account
PlayerKeys PlayerKeys
Account *api.Account
PlayerKeys api.PlayerKeys
Private *rsa.PrivateKey
SessionId uuid.UUID
}
func NewSecureChat(a *Account) (s *SecureChatSession, err error) {
func NewSecureChat(a *api.Account) (s *SecureChatSession, err error) {
s = &SecureChatSession{Account: a}
s.PlayerKeys, err = a.FetchKeys()