Hub for nanopack resources and content
nanopack / mist Goto Github PK
View Code? Open in Web Editor NEWA distributed, tag-based pub-sub service for modern web applications and container-driven cloud.
License: MIT License
A distributed, tag-based pub-sub service for modern web applications and container-driven cloud.
License: MIT License
Mist logs all messages to its log with INFO
verbosity, this should be trace
Thu Nov 17 15:42:28 2016 web.main (puma[daemon]) :: Puma starting in single mode...
Thu Nov 17 15:42:28 2016 mist (mist[daemon]) :: [mist] INFO Got message - mist.Message{Command:"publish", Tags:[]string{"app", "debug", "error", "info", "log", "puma[daemon]", "trace", "warn", "web.main"}, Data:"{\"time\":\"\",\"utime\":1479397348752822103,\"id\":\"web.main\",\"tag\":\"puma[daemon]\",\"type\":\"app\",\"priority\":4,\"message\":\" Puma starting in single mode...\"}", Error:""}
Thu Nov 17 15:42:28 2016 web.main (puma[daemon]) :: * Version 3.6.0 (ruby 2.3.1-p112), codename: Sleepy Sunday Serenity
Thu Nov 17 15:42:28 2016 web.main (puma[daemon]) :: * Min threads: 5, max threads: 5
Thu Nov 17 15:42:28 2016 web.main (puma[daemon]) :: * Environment: development
Thu Nov 17 15:42:28 2016 mist (mist[daemon]) :: [mist] INFO Got message - mist.Message{Command:"publish", Tags:[]string{"app", "debug", "error", "info", "log", "puma[daemon]", "trace", "warn", "web.main"}, Data:"{\"time\":\"\",\"utime\":1479397348754077536,\"id\":\"web.main\",\"tag\":\"puma[daemon]\",\"type\":\"app\",\"priority\":4,\"message\":\" * Min threads: 5, max threads: 5\"}", Error:""}
Thu Nov 17 15:42:28 2016 mist (mist[daemon]) :: [mist] INFO Got message - mist.Message{Command:"publish", Tags:[]string{"app", "debug", "error", "info", "log", "mist", "mist[daemon]", "trace", "warn"}, Data:"{\"time\":\"\",\"utime\":1479397348757072005,\"id\":\"mist\",\"tag\":\"mist[daemon]\",\"type\":\"app\",\"priority\":4,\"message\":\" [mist] INFO Got message - mist.Message{Command:\\\"publish\\\", Tags:[]string{\\\"app\\\", \\\"debug\\\", \\\"error\\\", \\\"info\\\", \\\"log\\\", \\\"puma[daemon]\\\", \\\"trace\\\", \\\"warn\\\", \\\"web.main\\\"}, Data:\\\"{\\\\\\\"time\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"utime\\\\\\\":1479397348752822103,\\\\\\\"id\\\\\\\":\\\\\\\"web.main\\\\\\\",\\\\\\\"tag\\\\\\\":\\\\\\\"puma[daemon]\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"app\\\\\\\",\\\\\\\"priority\\\\\\\":4,\\\\\\\"message\\\\\\\":\\\\\\\" Puma starting in single mode...\\\\\\\"}\\\", Erro
Thu Nov 17 15:42:28 2016 mist (mist[daemon]) :: :\\\"\\\"}\"}", Error:""}
Thu Nov 17 15:42:28 2016 mist (mist[daemon]) :: [mist] INFO Got message - mist.Message{Command:"publish", Tags:[]string{"app", "debug", "error", "info", "log", "puma[daemon]", "trace", "warn", "web.main"}, Data:"{\"time\":\"\",\"utime\":1479397348753647967,\"id\":\"web.main\",\"tag\":\"puma[daemon]\",\"type\":\"app\",\"priority\":4,\"message\":\" * Version 3.6.0 (ruby 2.3.1-p112), codename: Sleepy Sunday Serenity\"}", Error:""}
as title
github.com/nanopack/mist/server.handleConnection.func1(0xc4203679a0, 0xc4203679f0, 0xc42004eba0)
/go/src/github.com/nanopack/mist/server/tcp.go:71 +0x8fcreated by github.com/nanopack/mist/server.handleConnection/go/src/github.com/nanopack/mist/server/tcp.go:81 +0x572 goroutine 383 [select]:goroutine 382 [running]:runtime.throw(0x89186d, 0x15)
/go/src/runtime/panic.go:566 +0x95 fp=0xc4203e0ca8 sp=0xc4203e0c88runtime.mapassign1(0x816da0, 0xc4202f56b0, 0xc4203e0ef8, 0xc4203e0ea8)github.com/nanopack/mist/core.(*Proxy).handleMessages(0xc420481680)
/go/src/github.com/nanopack/mist/core/proxy.go:62 +0x2cf/go/src/runtime/hashmap.go:458 +0x8ef fp=0xc4203e0d90 sp=0xc4203e0ca8github.com/nanopack/mist/server.handleConnection(0xa76f20, 0xc4200203d8, 0xc42004eba0)
/go/src/github.com/nanopack/mist/server/tcp.go:118 +0xed6 fp=0xc4203e0f98 sp=0xc4203e0d90runtime.goexit()
/go/src/runtime/asm_amd64.s:2086 +0x1 fp=0xc4203e0fa0 sp=0xc4203e0f98created by github.com/nanopack/mist/server.StartTCP.func1/go/src/github.com/nanopack/mist/server/tcp.go:45 +0x80 goroutine 1 [chan receive]:github.com/nanopack/mist/server.Start(0xc420234c80, 0x2, 0x2, 0xc42000a7c0, 0x32, 0xc4200d60e0, 0x8883d5)
/go/src/github.com/nanopack/mist/server/server.go:102 +0x3abgithub.com/nanopack/mist/commands.start(0xa90000, 0xc4201ad5f0, 0x0, 0x3, 0x0, 0x0)
/go/src/github.com/nanopack/mist/commands/commands.go:88 +0x220github.com/spf13/cobra.(*Command).execute(0xa90000, 0xc42000a110, 0x3, 0x3, 0xa90000, 0xc42000a110)
/go/src/github.com/spf13/cobra/command.go:599 +0x234github.com/spf13/cobra.(*Command).ExecuteC(0xa90000, 0x1, 0xc4201fdf28, 0x40411b)
/go/src/github.com/spf13/cobra/command.go:689 +0x367github.com/spf13/cobra.(*Command).Execute(0xa90000, 0x46ebad, 0xc42006a630)
/go/src/github.com/spf13/cobra/command.go:648 +0x2bmain.main()
/go/src/github.com/nanopack/mist/main.go:11 +0x31 goroutine 17 [runnable]:net.runtime_pollWait(0x7f89711faf00, 0x72, 0x0)
/go/src/runtime/netpoll.go:160 +0x59net.(*pollDesc).wait(0xc420242060, 0x72, 0xc42001de48, 0xc420010150)
/go/src/net/fd_poll_runtime.go:73 +0x38net.(*pollDesc).waitRead(0xc420242060, 0xa71540, 0xc420010150)created by github.com/nanopack/mist/core.(*Proxy).connect/go/src/net/fd_poll_runtime.go:78 +0x34net.(*netFD).accept(0xc420242000, 0x0, 0xa6fd80, 0xc42023dd80)
/go/src/net/fd_unix.go:419 +0x238net.(*TCPListener).accept(0xc420246000, 0x43171e, 0xc42001def8, 0x4cdc20)
/go/src/net/tcpsock_posix.go:132 +0x2e/go/src/github.com/nanopack/mist/core/proxy.go:48 +0x73net.(*TCPListener).Accept(0xc420246000, 0x8ca610, 0xa76f20, 0xc4202462c0, 0xc42004eba0)
/go/src/net/tcpsock.go:222 +0x49github.com/nanopack/mist/server.StartTCP.func1(0xa74340, 0xc420246000, 0xc42004eba0)
as title
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.