Guest User

Untitled

a guest
Aug 4th, 2020
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.33 KB | None | 0 0
  1. [Trace - 07:37:48.724 AM] Sending request 'initialize - (0)'.
  2. Params: {"processId":11101,"clientInfo":{"name":"vscode","version":"1.47.3"},"rootPath":"/Users/andig/htdocs/mbmd","rootUri":"file:///Users/andig/htdocs/mbmd","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional"},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":true},"configuration":true,"workspaceFolders":true},"textDocument":{"publishDiagnostics":{"relatedInformation":true,"versionSupport":false,"tagSupport":{"valueSet":[1,2]}},"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}},"contextSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"colorProvider":{"dynamicRegistration":true},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"selectionRange":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}},"initializationOptions":{},"trace":"off","workspaceFolders":[{"uri":"file:///Users/andig/htdocs/mbmd","name":"mbmd"},{"uri":"file:///Users/andig/htdocs/forecast","name":"forecast"}]}
  3.  
  4.  
  5. [Trace - 07:37:48.739 AM] Received response 'initialize - (0)' in 14ms.
  6. Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor.extract","refactor.rewrite","source.fixAll","source.organizeImports"]},"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":""},"renameProvider":{"prepareProvider":true},"foldingRangeProvider":true,"executeCommandProvider":{"commands":["generate","fill_struct","regenerate_cgo","test","tidy","undeclared_name","upgrade_dependency","vendor","extract_variable","extract_function"]},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"Build info\n----------\ngolang.org/x/tools/gopls 0.4.4\n golang.org/x/tools/gopls@v0.4.4 h1:8djGYsaZ0ByP0vaXg4T+mnyfDcHpWKSZ+tpQSGv9ahk=\n github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=\n github.com/google/go-cmp@v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w=\n github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=\n golang.org/x/mod@v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=\n golang.org/x/sync@v0.0.0-20200625203802-6e8e738ad208 h1:qwRHBd0NqMbJxfbotnDhm2ByMI1Shq4Y6oRJo21SGJA=\n golang.org/x/tools@v0.0.0-20200729181040-64cdafbe085c h1:jLQLIAedRoS9I2Py7l/ZAGGzUxLFsdg42JXEpS/a+ow=\n golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=\n honnef.co/go/tools@v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=\n mvdan.cc/gofumpt@v0.0.0-20200709182408-4fd085cb6d5f h1:gi7cb8HTDZ6q8VqsUpkdoFi3vxwHMneQ6+Q5Ap5hjPE=\n mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=\n\nGo info\n-------\ngo version go1.14.6 darwin/amd64\n\n"}}
  7.  
  8.  
  9. [Trace - 07:37:48.816 AM] Sending notification 'initialized'.
  10. Params: {}
  11.  
  12.  
  13. [Trace - 07:37:48.829 AM] Received notification 'window/logMessage'.
  14. Params: {"type":3,"message":"2020/08/04 07:37:48 Build info\n----------\ngolang.org/x/tools/gopls 0.4.4\n golang.org/x/tools/gopls@v0.4.4 h1:8djGYsaZ0ByP0vaXg4T+mnyfDcHpWKSZ+tpQSGv9ahk=\n github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=\n github.com/google/go-cmp@v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w=\n github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=\n golang.org/x/mod@v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=\n golang.org/x/sync@v0.0.0-20200625203802-6e8e738ad208 h1:qwRHBd0NqMbJxfbotnDhm2ByMI1Shq4Y6oRJo21SGJA=\n golang.org/x/tools@v0.0.0-20200729181040-64cdafbe085c h1:jLQLIAedRoS9I2Py7l/ZAGGzUxLFsdg42JXEpS/a+ow=\n golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=\n honnef.co/go/tools@v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=\n mvdan.cc/gofumpt@v0.0.0-20200709182408-4fd085cb6d5f h1:gi7cb8HTDZ6q8VqsUpkdoFi3vxwHMneQ6+Q5Ap5hjPE=\n mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=\n\nGo info\n-------\ngo version go1.14.6 darwin/amd64\n\n\n"}
  15.  
  16.  
  17. [Trace - 07:37:48.829 AM] Received request 'workspace/configuration - (1)'.
  18. Params: {"items":[{"scopeUri":"file:///Users/andig/htdocs/mbmd","section":"gopls"},{"scopeUri":"file:///Users/andig/htdocs/mbmd","section":"gopls-mbmd"}]}
  19.  
  20.  
  21. [Info - 7:37:48 AM] 2020/08/04 07:37:48 Build info
  22. ----------
  23. golang.org/x/tools/gopls 0.4.4
  24. golang.org/x/tools/gopls@v0.4.4 h1:8djGYsaZ0ByP0vaXg4T+mnyfDcHpWKSZ+tpQSGv9ahk=
  25. github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
  26. github.com/google/go-cmp@v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w=
  27. github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
  28. golang.org/x/mod@v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=
  29. golang.org/x/sync@v0.0.0-20200625203802-6e8e738ad208 h1:qwRHBd0NqMbJxfbotnDhm2ByMI1Shq4Y6oRJo21SGJA=
  30. golang.org/x/tools@v0.0.0-20200729181040-64cdafbe085c h1:jLQLIAedRoS9I2Py7l/ZAGGzUxLFsdg42JXEpS/a+ow=
  31. golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
  32. honnef.co/go/tools@v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=
  33. mvdan.cc/gofumpt@v0.0.0-20200709182408-4fd085cb6d5f h1:gi7cb8HTDZ6q8VqsUpkdoFi3vxwHMneQ6+Q5Ap5hjPE=
  34. mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=
  35.  
  36. Go info
  37. -------
  38. go version go1.14.6 darwin/amd64
  39.  
  40.  
  41.  
  42. [Trace - 07:37:48.913 AM] Sending response 'workspace/configuration - (1)' in 84ms.
  43. Result: [null,null]
  44.  
  45.  
  46. [Trace - 07:37:49.016 AM] Received notification 'window/logMessage'.
  47. Params: {"type":3,"message":"2020/08/04 07:37:49 go env for /Users/andig/htdocs/mbmd\n(root /Users/andig/htdocs/mbmd)\n(valid build configuration = true)\n(build flags: [])\nGOMODCACHE=\nGOCACHE=/Users/andig/Library/Caches/go-build\nGOINSECURE=\nGOFLAGS=\nGOMOD=/Users/andig/htdocs/mbmd/go.mod\nGOROOT=/usr/local/Cellar/go/1.14.6/libexec\nGO111MODULE=\nGONOSUMDB=\nGOSUMDB=sum.golang.org\nGONOPROXY=\nGOPATH=/Users/andig/go\nGOPRIVATE=\nGOPROXY=https://proxy.golang.org,direct\n\n"}
  48.  
  49.  
  50. [Trace - 07:37:49.016 AM] Received request 'workspace/configuration - (2)'.
  51. Params: {"items":[{"scopeUri":"file:///Users/andig/htdocs/forecast","section":"gopls"},{"scopeUri":"file:///Users/andig/htdocs/forecast","section":"gopls-forecast"}]}
  52.  
  53.  
  54. [Info - 7:37:49 AM] 2020/08/04 07:37:49 go env for /Users/andig/htdocs/mbmd
  55. (root /Users/andig/htdocs/mbmd)
  56. (valid build configuration = true)
  57. (build flags: [])
  58. GOMODCACHE=
  59. GOCACHE=/Users/andig/Library/Caches/go-build
  60. GOINSECURE=
  61. GOFLAGS=
  62. GOMOD=/Users/andig/htdocs/mbmd/go.mod
  63. GOROOT=/usr/local/Cellar/go/1.14.6/libexec
  64. GO111MODULE=
  65. GONOSUMDB=
  66. GOSUMDB=sum.golang.org
  67. GONOPROXY=
  68. GOPATH=/Users/andig/go
  69. GOPRIVATE=
  70. GOPROXY=https://proxy.golang.org,direct
  71.  
  72.  
  73. [Trace - 07:37:49.144 AM] Sending response 'workspace/configuration - (2)' in 128ms.
  74. Result: [null,null]
  75.  
  76.  
  77. [Trace - 07:37:49.439 AM] Received notification 'window/logMessage'.
  78. Params: {"type":3,"message":"2020/08/04 07:37:49 go env for /Users/andig/htdocs/forecast\n(root /Users/andig/htdocs)\n(valid build configuration = true)\n(build flags: [])\nGONOPROXY=\nGONOSUMDB=\nGOPRIVATE=\nGO111MODULE=\nGOCACHE=/Users/andig/Library/Caches/go-build\nGOPROXY=https://proxy.golang.org,direct\nGOFLAGS=\nGOINSECURE=\nGOMODCACHE=\nGOSUMDB=sum.golang.org\nGOROOT=/usr/local/Cellar/go/1.14.6/libexec\nGOMOD=/Users/andig/htdocs/go.mod\nGOPATH=/Users/andig/go\n\n"}
  79.  
  80.  
  81. [Trace - 07:37:49.440 AM] Received request 'client/registerCapability - (3)'.
  82. Params: {"registrations":[{"id":"workspace/didChangeConfiguration","method":"workspace/didChangeConfiguration"},{"id":"workspace/didChangeWorkspaceFolders","method":"workspace/didChangeWorkspaceFolders"},{"id":"workspace/didChangeWatchedFiles","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/Users/andig/htdocs/mbmd/**/*.{go,mod,sum}","kind":7}]}},{"id":"workspace/didChangeWatchedFiles","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/Users/andig/htdocs/**/*.{go,mod,sum}","kind":7}]}}]}
  83.  
  84.  
  85. [Info - 7:37:49 AM] 2020/08/04 07:37:49 go env for /Users/andig/htdocs/forecast
  86. (root /Users/andig/htdocs)
  87. (valid build configuration = true)
  88. (build flags: [])
  89. GONOPROXY=
  90. GONOSUMDB=
  91. GOPRIVATE=
  92. GO111MODULE=
  93. GOCACHE=/Users/andig/Library/Caches/go-build
  94. GOPROXY=https://proxy.golang.org,direct
  95. GOFLAGS=
  96. GOINSECURE=
  97. GOMODCACHE=
  98. GOSUMDB=sum.golang.org
  99. GOROOT=/usr/local/Cellar/go/1.14.6/libexec
  100. GOMOD=/Users/andig/htdocs/go.mod
  101. GOPATH=/Users/andig/go
  102.  
  103.  
  104. [Trace - 07:37:49.588 AM] Sending response 'client/registerCapability - (3)' in 147ms.
  105. Result:
  106.  
  107.  
  108. [Trace - 07:37:50.359 AM] Received notification 'window/logMessage'.
  109. Params: {"type":3,"message":"2020/08/04 07:37:50 go/packages.Load\n\tsnapshot=0\n\tdirectory=/Users/andig/htdocs/mbmd\n\tquery=[./... builtin]\n\tpackages=11\n"}
  110.  
  111.  
  112. [Info - 7:37:50 AM] 2020/08/04 07:37:50 go/packages.Load
  113. snapshot=0
  114. directory=/Users/andig/htdocs/mbmd
  115. query=[./... builtin]
  116. packages=11
  117.  
  118. [Trace - 07:39:03.807 AM] Sending notification '$/setTraceNotification'.
  119. Params: {"value":"off"}
  120.  
  121.  
  122. [Trace - 07:39:03.810 AM] Sending request 'shutdown - (1)'.
  123. Params:
  124.  
  125.  
  126. [Trace - 07:39:03.810 AM] Received response 'shutdown - (1)' in 0ms.
  127. Result: null
  128.  
  129.  
  130. [Trace - 07:39:03.810 AM] Received notification 'window/logMessage'.
  131. Params: {"type":3,"message":"2020/08/04 07:39:03 Shutdown session\n\tshutdown_session=1\n"}
  132.  
  133.  
  134. [Trace - 07:39:03.828 AM] Sending notification 'exit'.
  135. Params:
  136.  
  137.  
  138. gopls: failed reading header line: EOF
  139. [Trace - 07:39:03.935 AM] Sending request 'initialize - (0)'.
  140. Params: {"processId":11101,"clientInfo":{"name":"vscode","version":"1.47.3"},"rootPath":"/Users/andig/htdocs/mbmd","rootUri":"file:///Users/andig/htdocs/mbmd","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional"},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":true},"configuration":true,"workspaceFolders":true},"textDocument":{"publishDiagnostics":{"relatedInformation":true,"versionSupport":false,"tagSupport":{"valueSet":[1,2]}},"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}},"contextSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"colorProvider":{"dynamicRegistration":true},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"selectionRange":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}},"initializationOptions":{},"trace":"off","workspaceFolders":[{"uri":"file:///Users/andig/htdocs/mbmd","name":"mbmd"},{"uri":"file:///Users/andig/htdocs/forecast","name":"forecast"}]}
  141.  
  142.  
  143. [Trace - 07:39:04.074 AM] Received response 'initialize - (0)' in 138ms.
  144. Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor.extract","refactor.rewrite","source.fixAll","source.organizeImports"]},"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":""},"renameProvider":{"prepareProvider":true},"foldingRangeProvider":true,"executeCommandProvider":{"commands":["generate","fill_struct","regenerate_cgo","test","tidy","undeclared_name","upgrade_dependency","vendor","extract_variable","extract_function"]},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"Build info\n----------\ngolang.org/x/tools/gopls 0.4.4\n golang.org/x/tools/gopls@v0.4.4 h1:8djGYsaZ0ByP0vaXg4T+mnyfDcHpWKSZ+tpQSGv9ahk=\n github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=\n github.com/google/go-cmp@v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w=\n github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=\n golang.org/x/mod@v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=\n golang.org/x/sync@v0.0.0-20200625203802-6e8e738ad208 h1:qwRHBd0NqMbJxfbotnDhm2ByMI1Shq4Y6oRJo21SGJA=\n golang.org/x/tools@v0.0.0-20200729181040-64cdafbe085c h1:jLQLIAedRoS9I2Py7l/ZAGGzUxLFsdg42JXEpS/a+ow=\n golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=\n honnef.co/go/tools@v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=\n mvdan.cc/gofumpt@v0.0.0-20200709182408-4fd085cb6d5f h1:gi7cb8HTDZ6q8VqsUpkdoFi3vxwHMneQ6+Q5Ap5hjPE=\n mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=\n\nGo info\n-------\ngo version go1.14.6 darwin/amd64\n\n"}}
  145.  
  146.  
  147. [Trace - 07:39:04.075 AM] Sending notification 'initialized'.
  148. Params: {}
  149.  
  150.  
  151. [Trace - 07:39:04.090 AM] Received notification 'window/logMessage'.
  152. Params: {"type":3,"message":"2020/08/04 07:39:04 Build info\n----------\ngolang.org/x/tools/gopls 0.4.4\n golang.org/x/tools/gopls@v0.4.4 h1:8djGYsaZ0ByP0vaXg4T+mnyfDcHpWKSZ+tpQSGv9ahk=\n github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=\n github.com/google/go-cmp@v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w=\n github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=\n golang.org/x/mod@v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=\n golang.org/x/sync@v0.0.0-20200625203802-6e8e738ad208 h1:qwRHBd0NqMbJxfbotnDhm2ByMI1Shq4Y6oRJo21SGJA=\n golang.org/x/tools@v0.0.0-20200729181040-64cdafbe085c h1:jLQLIAedRoS9I2Py7l/ZAGGzUxLFsdg42JXEpS/a+ow=\n golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=\n honnef.co/go/tools@v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=\n mvdan.cc/gofumpt@v0.0.0-20200709182408-4fd085cb6d5f h1:gi7cb8HTDZ6q8VqsUpkdoFi3vxwHMneQ6+Q5Ap5hjPE=\n mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=\n\nGo info\n-------\ngo version go1.14.6 darwin/amd64\n\n\n"}
  153.  
  154.  
  155. [Info - 7:39:04 AM] 2020/08/04 07:39:04 Build info
  156. ----------
  157. golang.org/x/tools/gopls 0.4.4
  158. golang.org/x/tools/gopls@v0.4.4 h1:8djGYsaZ0ByP0vaXg4T+mnyfDcHpWKSZ+tpQSGv9ahk=
  159. github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
  160. github.com/google/go-cmp@v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w=
  161. github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
  162. golang.org/x/mod@v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=
  163. golang.org/x/sync@v0.0.0-20200625203802-6e8e738ad208 h1:qwRHBd0NqMbJxfbotnDhm2ByMI1Shq4Y6oRJo21SGJA=
  164. golang.org/x/tools@v0.0.0-20200729181040-64cdafbe085c h1:jLQLIAedRoS9I2Py7l/ZAGGzUxLFsdg42JXEpS/a+ow=
  165. golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
  166. honnef.co/go/tools@v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=
  167. mvdan.cc/gofumpt@v0.0.0-20200709182408-4fd085cb6d5f h1:gi7cb8HTDZ6q8VqsUpkdoFi3vxwHMneQ6+Q5Ap5hjPE=
  168. mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=
  169.  
  170. Go info
  171. -------
  172. go version go1.14.6 darwin/amd64
  173.  
  174.  
  175.  
  176. [Trace - 07:39:04.090 AM] Received request 'workspace/configuration - (1)'.
  177. Params: {"items":[{"scopeUri":"file:///Users/andig/htdocs/mbmd","section":"gopls"},{"scopeUri":"file:///Users/andig/htdocs/mbmd","section":"gopls-mbmd"}]}
  178.  
  179.  
  180. [Trace - 07:39:04.091 AM] Sending response 'workspace/configuration - (1)' in 0ms.
  181. Result: [null,null]
  182.  
  183.  
  184. [Trace - 07:39:04.320 AM] Received request 'workspace/configuration - (2)'.
  185. Params: {"items":[{"scopeUri":"file:///Users/andig/htdocs/forecast","section":"gopls"},{"scopeUri":"file:///Users/andig/htdocs/forecast","section":"gopls-forecast"}]}
  186.  
  187.  
  188. [Trace - 07:39:04.320 AM] Received notification 'window/logMessage'.
  189. Params: {"type":3,"message":"2020/08/04 07:39:04 go env for /Users/andig/htdocs/mbmd\n(root /Users/andig/htdocs/mbmd)\n(valid build configuration = true)\n(build flags: [])\nGOINSECURE=\nGONOPROXY=\nGONOSUMDB=\nGOROOT=/usr/local/Cellar/go/1.14.6/libexec\nGOCACHE=/Users/andig/Library/Caches/go-build\nGOPATH=/Users/andig/go\nGOPRIVATE=\nGO111MODULE=\nGOFLAGS=\nGOMOD=/Users/andig/htdocs/mbmd/go.mod\nGOMODCACHE=\nGOPROXY=https://proxy.golang.org,direct\nGOSUMDB=sum.golang.org\n\n"}
  190.  
  191.  
  192. [Trace - 07:39:04.321 AM] Sending response 'workspace/configuration - (2)' in 1ms.
  193. Result: [null,null]
  194.  
  195.  
  196. [Info - 7:39:04 AM] 2020/08/04 07:39:04 go env for /Users/andig/htdocs/mbmd
  197. (root /Users/andig/htdocs/mbmd)
  198. (valid build configuration = true)
  199. (build flags: [])
  200. GOINSECURE=
  201. GONOPROXY=
  202. GONOSUMDB=
  203. GOROOT=/usr/local/Cellar/go/1.14.6/libexec
  204. GOCACHE=/Users/andig/Library/Caches/go-build
  205. GOPATH=/Users/andig/go
  206. GOPRIVATE=
  207. GO111MODULE=
  208. GOFLAGS=
  209. GOMOD=/Users/andig/htdocs/mbmd/go.mod
  210. GOMODCACHE=
  211. GOPROXY=https://proxy.golang.org,direct
  212. GOSUMDB=sum.golang.org
  213.  
  214.  
  215. [Trace - 07:39:04.578 AM] Received notification 'window/logMessage'.
  216. Params: {"type":3,"message":"2020/08/04 07:39:04 go env for /Users/andig/htdocs/forecast\n(root /Users/andig/htdocs)\n(valid build configuration = true)\n(build flags: [])\nGOPROXY=https://proxy.golang.org,direct\nGOSUMDB=sum.golang.org\nGOCACHE=/Users/andig/Library/Caches/go-build\nGOMOD=/Users/andig/htdocs/go.mod\nGOMODCACHE=\nGONOPROXY=\nGOPATH=/Users/andig/go\nGOPRIVATE=\nGONOSUMDB=\nGOROOT=/usr/local/Cellar/go/1.14.6/libexec\nGO111MODULE=\nGOINSECURE=\nGOFLAGS=\n\n"}
  217.  
  218.  
  219. [Info - 7:39:04 AM] 2020/08/04 07:39:04 go env for /Users/andig/htdocs/forecast
  220. (root /Users/andig/htdocs)
  221. (valid build configuration = true)
  222. (build flags: [])
  223. GOPROXY=https://proxy.golang.org,direct
  224. GOSUMDB=sum.golang.org
  225. GOCACHE=/Users/andig/Library/Caches/go-build
  226. GOMOD=/Users/andig/htdocs/go.mod
  227. GOMODCACHE=
  228. GONOPROXY=
  229. GOPATH=/Users/andig/go
  230. GOPRIVATE=
  231. GONOSUMDB=
  232. GOROOT=/usr/local/Cellar/go/1.14.6/libexec
  233. GO111MODULE=
  234. GOINSECURE=
  235. GOFLAGS=
  236.  
  237.  
  238. [Trace - 07:39:04.579 AM] Received request 'client/registerCapability - (3)'.
  239. Params: {"registrations":[{"id":"workspace/didChangeConfiguration","method":"workspace/didChangeConfiguration"},{"id":"workspace/didChangeWorkspaceFolders","method":"workspace/didChangeWorkspaceFolders"},{"id":"workspace/didChangeWatchedFiles","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/Users/andig/htdocs/mbmd/**/*.{go,mod,sum}","kind":7}]}},{"id":"workspace/didChangeWatchedFiles","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/Users/andig/htdocs/**/*.{go,mod,sum}","kind":7}]}}]}
  240.  
  241.  
  242. [Trace - 07:39:04.580 AM] Sending response 'client/registerCapability - (3)' in 1ms.
  243. Result:
  244.  
  245.  
  246. [Trace - 07:39:05.141 AM] Received notification 'window/logMessage'.
  247. Params: {"type":3,"message":"2020/08/04 07:39:05 go/packages.Load\n\tsnapshot=0\n\tdirectory=/Users/andig/htdocs/mbmd\n\tquery=[./... builtin]\n\tpackages=11\n"}
  248.  
  249.  
  250. [Info - 7:39:05 AM] 2020/08/04 07:39:05 go/packages.Load
  251. snapshot=0
  252. directory=/Users/andig/htdocs/mbmd
  253. query=[./... builtin]
  254. packages=11
  255.  
  256. [Trace - 07:39:48.711 AM] Sending notification 'textDocument/didOpen'.
  257. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go","languageId":"go","version":1,"text":"package cmd\n\nimport (\n\t\"context\"\n\tgolog \"log\"\n\t\"os\"\n\t\"os/signal\"\n\t\"syscall\"\n\t\"time\"\n\n\t\"github.com/spf13/cobra\"\n\t\"github.com/spf13/pflag\"\n\t\"github.com/spf13/viper\"\n\tlatest \"github.com/tcnksm/go-latest\"\n\n\t\"github.com/volkszaehler/mbmd/server\"\n)\n\nconst (\n\tcacheDuration = 1 * time.Minute\n)\n\n// runCmd represents the run command\nvar runCmd = &cobra.Command{\n\tUse: \"run\",\n\tShort: \"Read and publish measurements from all configured devices\",\n\t// \tLong: `A longer description that spans multiple lines and likely contains examples\n\t// and usage of using your command. For example:`,\n\tRun: run,\n}\n\n// bindPflagsWithExceptions binds all pflags exception for exceptions\nfunc bindPflagsWithExceptions(flags *pflag.FlagSet, exceptions ...string) {\n\tflags.VisitAll(func(flag *pflag.Flag) {\n\t\tfor _, f := range exceptions {\n\t\t\tif flag.Name == f { // don't bind this key\n\t\t\t\treturn\n\t\t\t}\n\t\t}\n\t\tif err := viper.BindPFlag(flag.Name, flag); err != nil {\n\t\t\tlog.Fatal(err)\n\t\t}\n\t})\n}\n\nfunc bindPFlagsWithPrefix(flags *pflag.FlagSet, prefix string, names ...string) {\n\tfor _, f := range names {\n\t\tflag := flags.Lookup(prefix + \"-\" + f)\n\t\tif flag == nil {\n\t\t\tpanic(\"pflag lookup failed for \" + f)\n\t\t}\n\t\t_ = viper.BindPFlag(prefix+\".\"+f, flag)\n\t}\n}\n\nfunc init() {\n\trootCmd.AddCommand(runCmd)\n\n\trunCmd.PersistentFlags().StringSliceP(\n\t\t\"devices\", \"d\",\n\t\t[]string{},\n\t\t`MODBUS device type and ID to query, multiple devices separated by comma or by repeating the flag.\n Example: -d SDM:1,SDM:2 -d DZG:1.\nValid types are:`+meterHelp()+`\nTo use an adapter different from default, append RTU device or TCP address separated by @.\nIf the adapter is a TCP connection (identified by :port), the device type (SUNS) is ignored and\nany type is considered valid.\n Example: -d SDM:1@/dev/USB11 -d SMA:126@localhost:502`,\n\t)\n\trunCmd.PersistentFlags().DurationP(\n\t\t\"rate\", \"r\",\n\t\ttime.Second,\n\t\t\"Rate limit. Devices will not be queried more often than rate limit.\",\n\t)\n\trunCmd.PersistentFlags().String(\n\t\t\"api\",\n\t\t\"0.0.0.0:8080\",\n\t\t\"REST API url. Use 127.0.0.1:8080 to limit to localhost.\",\n\t)\n\trunCmd.PersistentFlags().StringP(\n\t\t\"mqtt-broker\", \"m\",\n\t\t\"\",\n\t\t\"MQTT broker URI. ex: tcp://10.10.1.1:1883\",\n\t)\n\trunCmd.PersistentFlags().String(\n\t\t\"mqtt-topic\",\n\t\t\"mbmd\",\n\t\t\"MQTT root topic. Set empty to disable publishing.\",\n\t)\n\trunCmd.PersistentFlags().String(\n\t\t\"mqtt-user\",\n\t\t\"\",\n\t\t\"MQTT user (optional)\",\n\t)\n\trunCmd.PersistentFlags().String(\n\t\t\"mqtt-password\",\n\t\t\"\",\n\t\t\"MQTT password (optional)\",\n\t)\n\trunCmd.PersistentFlags().String(\n\t\t\"mqtt-clientid\",\n\t\t\"mbmd\",\n\t\t\"MQTT client id\",\n\t)\n\trunCmd.PersistentFlags().Int(\n\t\t\"mqtt-qos\",\n\t\t0,\n\t\t\"MQTT quality of service 0,1,2 (default 0)\",\n\t)\n\trunCmd.PersistentFlags().String(\n\t\t\"mqtt-homie\",\n\t\t\"homie\",\n\t\t\"MQTT Homie IoT discovery base topic (homieiot.github.io). Set empty to disable.\",\n\t)\n\trunCmd.PersistentFlags().StringP(\n\t\t\"influx-url\", \"i\",\n\t\t\"\",\n\t\t\"InfluxDB URL. ex: http://10.10.1.1:8086\",\n\t)\n\trunCmd.PersistentFlags().String(\n\t\t\"influx-database\",\n\t\t\"\",\n\t\t\"InfluxDB database\",\n\t)\n\trunCmd.PersistentFlags().String(\n\t\t\"influx-measurement\",\n\t\t\"data\",\n\t\t\"InfluxDB measurement\",\n\t)\n\trunCmd.PersistentFlags().String(\n\t\t\"influx-precision\",\n\t\t\"s\",\n\t\t\"InfluxDB precision\",\n\t)\n\trunCmd.PersistentFlags().Duration(\n\t\t\"influx-interval\",\n\t\t30*time.Second,\n\t\t\"InfluxDB write interval\",\n\t)\n\trunCmd.PersistentFlags().String(\n\t\t\"influx-user\",\n\t\t\"\",\n\t\t\"InfluxDB user (optional)\",\n\t)\n\trunCmd.PersistentFlags().String(\n\t\t\"influx-password\",\n\t\t\"\",\n\t\t\"InfluxDB password (optional)\",\n\t)\n\n\tpflags := runCmd.PersistentFlags()\n\n\t// bind command line options to viper with exceptions\n\tbindPflagsWithExceptions(pflags, \"devices\")\n\n\t// mqtt\n\tbindPFlagsWithPrefix(pflags, \"mqtt\", \"broker\", \"topic\", \"user\", \"password\", \"clientid\", \"qos\", \"homie\")\n\n\t// influx\n\tbindPFlagsWithPrefix(pflags, \"influx\", \"url\", \"database\", \"measurement\", \"precision\", \"interval\", \"user\", \"password\")\n}\n\n// checkVersion validates if updates are available\nfunc checkVersion() {\n\tgithubTag := &latest.GithubTag{\n\t\tOwner: \"volkszaehler\",\n\t\tRepository: \"mbmd\",\n\t}\n\n\tif res, err := latest.Check(githubTag, server.Version); err == nil {\n\t\tif res.Outdated {\n\t\t\tlog.Printf(\"updates available - please upgrade to %s\", res.Current)\n\t\t}\n\t}\n}\n\nfunc run(cmd *cobra.Command, args []string) {\n\tlog.Printf(\"mbmd %s (%s)\", server.Version, server.Commit)\n\tif len(args) > 0 {\n\t\tlog.Fatalf(\"excess arguments, aborting: %v\", args)\n\t}\n\tgo checkVersion()\n\n\tconfHandler := NewDeviceConfigHandler()\n\n\t// create default adapter from configuration\n\tdefaultDevice := viper.GetString(\"adapter\")\n\tif defaultDevice != \"\" {\n\t\tconfHandler.DefaultDevice = defaultDevice\n\t\tconfHandler.ConnectionManager(defaultDevice, viper.GetBool(\"rtu\"), viper.GetInt(\"baudrate\"), viper.GetString(\"comset\"))\n\t}\n\n\t// create devices from command line\n\tdevices, _ := cmd.PersistentFlags().GetStringSlice(\"devices\")\n\tfor _, dev := range devices {\n\t\tif dev != \"\" {\n\t\t\tconfHandler.CreateDeviceFromSpec(dev)\n\t\t}\n\t}\n\n\tif cfgFile != \"\" {\n\t\t// config file found\n\t\tlog.Printf(\"config: using %s\", viper.ConfigFileUsed())\n\n\t\tvar conf Config\n\t\tif err := viper.UnmarshalExact(&conf); err != nil {\n\t\t\tlog.Fatalf(\"config: failed parsing config file %s: %v\", cfgFile, err)\n\t\t}\n\n\t\t// create devices from config file only if not overridden on command line\n\t\tif len(devices) == 0 {\n\t\t\t// add adapters from configuration\n\t\t\tfor _, a := range conf.Adapters {\n\t\t\t\tconfHandler.ConnectionManager(a.Device, a.RTU, a.Baudrate, a.Comset)\n\t\t\t}\n\n\t\t\t// add devices from configuration\n\t\t\tfor _, dev := range conf.Devices {\n\t\t\t\tconfHandler.CreateDevice(dev)\n\t\t\t}\n\t\t}\n\t}\n\n\tif countDevices(confHandler.Managers) == 0 {\n\t\tlog.Fatal(\"config: no devices found - terminating\")\n\t}\n\n\t// raw log\n\tif viper.GetBool(\"raw\") {\n\t\tsetLogger(confHandler.Managers, golog.New(os.Stderr, \"\", golog.LstdFlags))\n\t}\n\n\t// query engine\n\tqe := server.NewQueryEngine(confHandler.Managers)\n\n\t// results- and control channels\n\trc := make(chan server.QuerySnip)\n\tcc := make(chan server.ControlSnip)\n\n\t// tee that broadcasts meter messages to multiple recipients\n\ttee := server.NewBroadcaster(server.FromSnipChannel(rc))\n\tgo tee.Run()\n\n\t// tee that broadcasts control messages to multiple recipients\n\tteeC := server.NewBroadcaster(server.FromControlChannel(cc))\n\tgo teeC.Run()\n\n\t// status cache (always needed to consume control messages)\n\tstatus := server.NewStatus(qe, server.ToControlChannel(teeC.Attach()))\n\n\t// web server\n\tif viper.GetString(\"api\") != \"\" {\n\t\t// measurement cache for REST api\n\t\tcache := server.NewCache(cacheDuration, status, viper.GetBool(\"verbose\"))\n\t\ttee.AttachRunner(server.NewSnipRunner(cache.Run))\n\n\t\t// websocket hub\n\t\thub := server.NewSocketHub(status)\n\t\ttee.AttachRunner(server.NewSnipRunner(hub.Run))\n\n\t\t// http daemon\n\t\thttpd := server.NewHttpd(qe, cache)\n\t\tgo httpd.Run(hub, status, viper.GetString(\"api\"))\n\t}\n\n\t// MQTT client\n\tif viper.GetString(\"mqtt.broker\") != \"\" {\n\t\tqos := byte(viper.GetInt(\"mqtt.qos\"))\n\t\tverbose := viper.GetBool(\"verbose\")\n\n\t\t// default mqtt runner\n\t\tif topic := viper.GetString(\"mqtt.topic\"); topic != \"\" {\n\t\t\toptions := server.NewMqttOptions(\n\t\t\t\tviper.GetString(\"mqtt.broker\"),\n\t\t\t\tviper.GetString(\"mqtt.user\"),\n\t\t\t\tviper.GetString(\"mqtt.password\"),\n\t\t\t\tviper.GetString(\"mqtt.clientid\"),\n\t\t\t)\n\t\t\tmqttRunner := server.NewMqttRunner(options, qos, topic, verbose)\n\t\t\ttee.AttachRunner(server.NewSnipRunner(mqttRunner.Run))\n\t\t}\n\n\t\t// homie runner\n\t\tif topic := viper.GetString(\"mqtt.homie\"); topic != \"\" {\n\t\t\toptions := server.NewMqttOptions(\n\t\t\t\tviper.GetString(\"mqtt.broker\"),\n\t\t\t\tviper.GetString(\"mqtt.user\"),\n\t\t\t\tviper.GetString(\"mqtt.password\"),\n\t\t\t\tviper.GetString(\"mqtt.clientid\"),\n\t\t\t)\n\t\t\tcc := server.ToControlChannel(teeC.Attach())\n\t\t\thomieRunner := server.NewHomieRunner(qe, cc, options, qos, topic, verbose)\n\t\t\ttee.AttachRunner(server.NewSnipRunner(homieRunner.Run))\n\t\t}\n\t}\n\n\t// InfluxDB client\n\tif viper.GetString(\"influx.url\") != \"\" {\n\t\tinflux := server.NewInfluxClient(\n\t\t\tviper.GetString(\"influx.url\"),\n\t\t\tviper.GetString(\"influx.database\"),\n\t\t\tviper.GetString(\"influx.measurement\"),\n\t\t\tviper.GetString(\"influx.precision\"),\n\t\t\tviper.GetDuration(\"influx.interval\"),\n\t\t\tviper.GetString(\"influx.user\"),\n\t\t\tviper.GetString(\"influx.password\"),\n\t\t\tviper.GetBool(\"verbose\"),\n\t\t)\n\n\t\ttee.AttachRunner(server.NewSnipRunner(influx.Run))\n\t}\n\n\tctx, cancel := context.WithCancel(context.Background())\n\tgo qe.Run(ctx, viper.GetDuration(\"rate\"), cc, rc)\n\n\t// wait for signal on exit channel and cancel context\n\texit := make(chan os.Signal, 1)\n\tsignal.Notify(exit, os.Interrupt, syscall.SIGTERM)\n\t<-exit\n\tlog.Println(\"received signal - stopping\")\n\tcancel()\n\n\t// wait for Run methods attached to tee to finish\n\t<-tee.Done()\n\tlog.Println(\"stopped\")\n}\n"}}
  258.  
  259.  
  260. [Trace - 07:39:48.713 AM] Sending request 'textDocument/documentLink - (1)'.
  261. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"}}
  262.  
  263.  
  264. [Trace - 07:39:48.713 AM] Sending request 'textDocument/codeAction - (2)'.
  265. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":0}},"context":{"diagnostics":[]}}
  266.  
  267.  
  268. [Trace - 07:39:48.713 AM] Sending request 'textDocument/documentSymbol - (3)'.
  269. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"}}
  270.  
  271.  
  272. [Trace - 07:39:48.951 AM] Sending request 'textDocument/codeLens - (4)'.
  273. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"}}
  274.  
  275.  
  276. [Trace - 07:39:48.953 AM] Sending request 'textDocument/codeAction - (5)'.
  277. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"range":{"start":{"line":313,"character":10},"end":{"line":313,"character":10}},"context":{"diagnostics":[]}}
  278.  
  279.  
  280. [Trace - 07:39:48.953 AM] Sending notification '$/cancelRequest'.
  281. Params: {"id":2}
  282.  
  283.  
  284. [Trace - 07:39:49.053 AM] Sending request 'textDocument/foldingRange - (6)'.
  285. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"}}
  286.  
  287.  
  288. [Trace - 07:39:49.188 AM] Sending request 'textDocument/hover - (7)'.
  289. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":319,"character":41}}
  290.  
  291.  
  292. [Trace - 07:39:49.571 AM] Sending notification '$/cancelRequest'.
  293. Params: {"id":7}
  294.  
  295.  
  296. [Trace - 07:39:49.929 AM] Sending request 'textDocument/codeAction - (8)'.
  297. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"range":{"start":{"line":313,"character":10},"end":{"line":313,"character":10}},"context":{"diagnostics":[]}}
  298.  
  299.  
  300. [Trace - 07:39:49.929 AM] Sending notification '$/cancelRequest'.
  301. Params: {"id":5}
  302.  
  303.  
  304. [Trace - 07:39:51.897 AM] Sending request 'textDocument/hover - (9)'.
  305. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":322,"character":22}}
  306.  
  307.  
  308. [Trace - 07:39:51.987 AM] Sending notification '$/cancelRequest'.
  309. Params: {"id":9}
  310.  
  311.  
  312. [Trace - 07:39:52.087 AM] Sending request 'textDocument/definition - (10)'.
  313. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":319,"character":11}}
  314.  
  315.  
  316. [Trace - 07:39:52.286 AM] Sending notification '$/cancelRequest'.
  317. Params: {"id":10}
  318.  
  319.  
  320. [Trace - 07:39:52.287 AM] Sending request 'textDocument/definition - (11)'.
  321. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":315,"character":13}}
  322.  
  323.  
  324. [Trace - 07:39:52.787 AM] Sending notification '$/cancelRequest'.
  325. Params: {"id":11}
  326.  
  327.  
  328. [Trace - 07:39:52.787 AM] Sending request 'textDocument/definition - (12)'.
  329. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":313,"character":9}}
  330.  
  331.  
  332. [Trace - 07:39:53.040 AM] Sending request 'textDocument/hover - (13)'.
  333. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":313,"character":8}}
  334.  
  335.  
  336. [Trace - 07:39:53.656 AM] Sending notification '$/cancelRequest'.
  337. Params: {"id":13}
  338.  
  339.  
  340. [Trace - 07:39:54.014 AM] Sending notification '$/cancelRequest'.
  341. Params: {"id":8}
  342.  
  343.  
  344. [Trace - 07:39:54.109 AM] Sending notification '$/cancelRequest'.
  345. Params: {"id":12}
  346.  
  347.  
  348. [Trace - 07:39:54.109 AM] Sending request 'textDocument/definition - (14)'.
  349. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":313,"character":8}}
  350.  
  351.  
  352. [Trace - 07:39:54.260 AM] Sending request 'textDocument/hover - (15)'.
  353. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":313,"character":8}}
  354.  
  355.  
  356. [Trace - 07:39:55.532 AM] Sending notification '$/cancelRequest'.
  357. Params: {"id":15}
  358.  
  359.  
  360. [Trace - 07:39:59.432 AM] Sending request 'textDocument/hover - (16)'.
  361. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":313,"character":11}}
  362.  
  363.  
  364. [Trace - 07:40:04.312 AM] Sending notification '$/cancelRequest'.
  365. Params: {"id":16}
  366.  
  367.  
  368. [Trace - 07:40:04.566 AM] Sending request 'textDocument/hover - (17)'.
  369. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":313,"character":9}}
  370.  
  371.  
  372. [Trace - 07:40:04.614 AM] Sending notification '$/cancelRequest'.
  373. Params: {"id":14}
  374.  
  375.  
  376. [Trace - 07:40:04.615 AM] Sending request 'textDocument/definition - (18)'.
  377. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":313,"character":9}}
  378.  
  379.  
  380. [Trace - 07:40:04.716 AM] Sending notification '$/cancelRequest'.
  381. Params: {"id":17}
  382.  
  383.  
  384. [Trace - 07:40:04.868 AM] Sending request 'textDocument/hover - (19)'.
  385. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":313,"character":8}}
  386.  
  387.  
  388. [Trace - 07:40:06.839 AM] Sending notification '$/cancelRequest'.
  389. Params: {"id":19}
  390.  
  391.  
  392. [Trace - 07:40:06.990 AM] Sending request 'textDocument/hover - (20)'.
  393. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":313,"character":7}}
  394.  
  395.  
  396. [Trace - 07:40:07.776 AM] Sending notification '$/cancelRequest'.
  397. Params: {"id":20}
  398.  
  399.  
  400. [Trace - 07:40:08.027 AM] Sending request 'textDocument/hover - (21)'.
  401. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":313,"character":8}}
  402.  
  403.  
  404. [Trace - 07:40:09.413 AM] Sending notification '$/cancelRequest'.
  405. Params: {"id":21}
  406.  
  407.  
  408. [Trace - 07:40:09.561 AM] Sending request 'textDocument/hover - (22)'.
  409. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":313,"character":7}}
  410.  
  411.  
  412. [Trace - 07:40:09.706 AM] Sending notification '$/cancelRequest'.
  413. Params: {"id":22}
  414.  
  415.  
  416. [Trace - 07:40:09.857 AM] Sending request 'textDocument/hover - (23)'.
  417. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":313,"character":8}}
  418.  
  419.  
  420. [Trace - 07:40:09.909 AM] Sending notification '$/cancelRequest'.
  421. Params: {"id":23}
  422.  
  423.  
  424. [Trace - 07:40:10.059 AM] Sending request 'textDocument/hover - (24)'.
  425. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":313,"character":8}}
  426.  
  427.  
  428. [Trace - 07:40:14.676 AM] Sending notification '$/cancelRequest'.
  429. Params: {"id":24}
  430.  
  431.  
  432. [Trace - 07:40:14.830 AM] Sending request 'textDocument/hover - (25)'.
  433. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":313,"character":7}}
  434.  
  435.  
  436. [Trace - 07:40:20.130 AM] Sending notification '$/cancelRequest'.
  437. Params: {"id":25}
  438.  
  439.  
  440. [Trace - 07:40:20.920 AM] Sending notification '$/cancelRequest'.
  441. Params: {"id":18}
  442.  
  443.  
  444. [Trace - 07:40:20.921 AM] Sending request 'textDocument/definition - (26)'.
  445. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":313,"character":9}}
  446.  
  447.  
  448. [Trace - 07:40:20.969 AM] Sending request 'textDocument/hover - (27)'.
  449. Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/mbmd/cmd/run.go"},"position":{"line":313,"character":8}}
  450.  
  451.  
  452. [Trace - 07:40:21.799 AM] Sending notification '$/cancelRequest'.
  453. Params: {"id":27}
  454.  
  455.  
Add Comment
Please, Sign In to add comment