mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-23 04:00:31 +03:00
Should pass golint now
This commit is contained in:
parent
165a517982
commit
e94838dbe8
3
cmd.go
3
cmd.go
@ -16,7 +16,6 @@ import (
|
||||
import _ "net/http/pprof"
|
||||
|
||||
// Options contains the flag options
|
||||
|
||||
type Options struct {
|
||||
Verbose []bool `short:"v" long:"verbose" description:"Show verbose logging."`
|
||||
Identity string `short:"i" long:"identity" description:"Private key to identify server with." default:"~/.ssh/id_rsa"`
|
||||
@ -24,7 +23,7 @@ type Options struct {
|
||||
Admin []string `long:"admin" description:"Fingerprint of pubkey to mark as admin."`
|
||||
Whitelist string `long:"whitelist" description:"Optional file of pubkey fingerprints that are allowed to connect"`
|
||||
Motd string `long:"motd" description:"Message of the Day file (optional)"`
|
||||
Pprof int `long:"pprof" description:"enable http server for pprof"`
|
||||
Pprof int `long:"pprof" description:"enable http server for pprof"`
|
||||
}
|
||||
|
||||
var logLevels = []log.Level{
|
||||
|
Loading…
x
Reference in New Issue
Block a user