Skip to content

Commit

Permalink
clean up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
xacrimon committed Mar 9, 2021
1 parent a46bc00 commit 11f12a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/client/keystore.go
Original file line number Diff line number Diff line change
Expand Up @@ -666,13 +666,14 @@ type usernameProxyPair struct {
proxy string
}

// MemLocalKeyStore is an in-memory keystore implementation.
// MemLocalKeyStore is an in-memory session keystore implementation.
type MemLocalKeyStore struct {
fsLocalNonSessionKeyStore
inMem map[usernameProxyPair]*Key
}

// NewMemLocalKeyStore initializes a new wrapping key store over an existing underlying one.
// NewMemLocalKeyStore initializes a MemLocalKeyStore, the key directory here is only used
// for storing CA certificates and known host fingerprints.
func NewMemLocalKeyStore(dirPath string) *MemLocalKeyStore {
inMem := make(map[usernameProxyPair]*Key)
return &MemLocalKeyStore{fsLocalNonSessionKeyStore: fsLocalNonSessionKeyStore{
Expand Down

0 comments on commit 11f12a0

Please sign in to comment.