mirror of
https://github.com/PeernetOfficial/Cmd.git
synced 2026-07-22 21:27:50 +01:00
New command "search file". Update core.
This commit is contained in:
6
Main.go
6
Main.go
@@ -70,12 +70,14 @@ func init() {
|
||||
|
||||
userAgent := appName + "/" + core.Version
|
||||
|
||||
core.Init(userAgent)
|
||||
backend = core.Init(userAgent)
|
||||
}
|
||||
|
||||
var backend *core.Backend
|
||||
|
||||
func main() {
|
||||
apiListen, apiKey, watchPID := parseCmdParams()
|
||||
startAPI(apiListen, apiKey)
|
||||
startAPI(backend, apiListen, apiKey)
|
||||
|
||||
go processExitMonitor(watchPID)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user