Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
3a76054d
Commit
3a76054d
authored
Feb 19, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
96580b58
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
go/neo/cmd/neo/main.go
go/neo/cmd/neo/main.go
+5
-1
go/neo/cmd/neo/misc.go
go/neo/cmd/neo/misc.go
+1
-1
No files found.
go/neo/cmd/neo/main.go
View file @
3a76054d
...
...
@@ -20,7 +20,10 @@
// Neo is a driver program for running and managing NEO databases.
package
main
import
"lab.nexedi.com/kirr/go123/prog"
import
(
"lab.nexedi.com/kirr/go123/prog"
"lab.nexedi.com/kirr/neo/go/internal/log"
)
var
commands
=
prog
.
CommandRegistry
{
{
"master"
,
masterSummary
,
masterUsage
,
masterMain
},
...
...
@@ -39,5 +42,6 @@ func main() {
HelpTopics
:
helpTopics
,
}
defer
log
.
Flush
()
prog
.
Main
()
}
go/neo/cmd/neo/misc.go
View file @
3a76054d
...
...
@@ -86,7 +86,7 @@ func neoMatch(r io.Reader) bool {
// listenAndServe runs service on laddr.
//
// It starts listening, multiplexes incoming connection to NEO and HTTP
// protocols, passes NEO connections to serv
ic
e and passes HTTP connection to
// protocols, passes NEO connections to serve and passes HTTP connection to
// default HTTP mux.
//
// Default HTTP mux can be assumed to contain /debug/pprof and the like.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment