Skip to content

Commit

Permalink
tskagent: clean up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
creachadair committed Oct 23, 2024
1 parent e977d53 commit e836442
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tskagent.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,15 @@ type Config struct {
// Client is the client for the secrets service. It must be set.
Client setec.Client

// Prefix is the non-empty secret name prefix to be served.
// It must be non-empty.
// Prefix is the secret name prefix to be served. It must be non-empty.
Prefix string

// Logf, if set, is used to write logs. If nil, logs are discarded.
Logf func(string, ...any)
}

// NewServer constructs a new [Server] that fetches SSH keys from the specified
// prefix of the given [setec.Client]. The prefix must be non-empty.
// NewServer constructs a new [Server] that fetches SSH keys matching the
// specified configuration in [setec].
//
// The caller must call [Server.Update] at least once to initialize the list of
// keys available to the agent. Thereafter, the caller may call Update again
Expand Down

0 comments on commit e836442

Please sign in to comment.