mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
Comment pedantry
This commit is contained in:
parent
1fac2f686d
commit
cdbc8004fb
@ -63,7 +63,7 @@ type logger struct {
|
|||||||
mut sync.Mutex
|
mut sync.Mutex
|
||||||
}
|
}
|
||||||
|
|
||||||
// The default logger logs to standard output with a time prefix.
|
// DefaultLogger logs to standard output with a time prefix.
|
||||||
var DefaultLogger = New()
|
var DefaultLogger = New()
|
||||||
|
|
||||||
func New() Logger {
|
func New() Logger {
|
||||||
|
@ -31,8 +31,8 @@ import (
|
|||||||
"github.com/syncthing/syncthing/lib/sync"
|
"github.com/syncthing/syncthing/lib/sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
// We set the API key via the STGUIAPIKEY variable when we launch the binary,
|
// APIKey is set via the STGUIAPIKEY variable when we launch the binary, to
|
||||||
// to ensure that we have API access regardless of authentication settings.
|
// ensure that we have API access regardless of authentication settings.
|
||||||
const APIKey = "592A47BC-A7DF-4C2F-89E0-A80B3E5094EE"
|
const APIKey = "592A47BC-A7DF-4C2F-89E0-A80B3E5094EE"
|
||||||
|
|
||||||
type Process struct {
|
type Process struct {
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
package upgrade
|
package upgrade
|
||||||
|
|
||||||
// This is the public key used to verify signed upgrades. It must match the
|
// SigningKey is the public key used to verify signed upgrades. It must match
|
||||||
// private key used to sign binaries for the built in upgrade mechanism to
|
// the private key used to sign binaries for the built in upgrade mechanism to
|
||||||
// accept an upgrade. Keys and signatures can be created and verified with the
|
// accept an upgrade. Keys and signatures can be created and verified with the
|
||||||
// stsigtool utility. The build script creates signed binaries when given the
|
// stsigtool utility. The build script creates signed binaries when given the
|
||||||
// -sign option.
|
// -sign option.
|
||||||
|
Loading…
Reference in New Issue
Block a user