mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-14 10:10:42 -07:00
missed go fmt'ing.
This commit is contained in:
@@ -6,8 +6,8 @@ import (
|
||||
"os"
|
||||
"sync/atomic"
|
||||
|
||||
"github.com/nats-io/gnatsd/logger"
|
||||
"fmt"
|
||||
"github.com/nats-io/gnatsd/logger"
|
||||
)
|
||||
|
||||
// Logger interface of the NATS Server
|
||||
|
||||
@@ -23,15 +23,15 @@ const MONITOR_PORT = -1
|
||||
const CLUSTER_PORT = -1
|
||||
|
||||
func DefaultMonitorOptions() *Options {
|
||||
return &Options {
|
||||
return &Options{
|
||||
Host: "localhost",
|
||||
Port: CLIENT_PORT,
|
||||
HTTPHost: "127.0.0.1",
|
||||
HTTPPort: MONITOR_PORT,
|
||||
NoLog: true,
|
||||
NoSigs: true,
|
||||
Debug: true,
|
||||
Trace: true,
|
||||
NoLog: true,
|
||||
NoSigs: true,
|
||||
Debug: true,
|
||||
Trace: true,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ type Server struct {
|
||||
grRunning bool
|
||||
grWG sync.WaitGroup // to wait on various go routines
|
||||
cproto int64 // number of clients supporting async INFO
|
||||
fatalError string // Captures the error string for any fatal error
|
||||
fatalError string // Captures the error string for any fatal error
|
||||
logging struct {
|
||||
sync.RWMutex
|
||||
logger Logger
|
||||
|
||||
Reference in New Issue
Block a user