Imports github.com/nats-io/nats-server/v2/conf github.com/gorilla/websocket github.com/nats-io/nats-server/v2/server github.com/nats-io/nats-server/v2/logger github.com/mitchellh/go-homedir Standard library imports bytes time context crypto/tls crypto/x509 encoding/json errors flag fmt io/ioutil log net net/http os path/filepath strconv strings sync/atomic