{"modulePath":"github.com/adaptivemsg/adaptivemsg-go","version":"v0.1.3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package echo\n\n## Types\n\n```go\ntype MessageReply struct {\n\tMsg       string `am:\"msg\"`\n\tNum       int32  `am:\"num\"`\n\tSignature string `am:\"signature\"`\n}\n```\n\n```go\ntype MessageRequest struct {\n\tMsg string `am:\"msg\"`\n\tNum int32  `am:\"num\"`\n}\n```\n\n```go\ntype MessageTimeout struct {\n\tSecs uint64 `am:\"secs\"`\n}\n```\n\n```go\ntype StatMgr struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewStatMgr() *StatMgr\n```\n\n```go\nfunc (s *StatMgr) Counter() uint64\n```\n\n```go\nfunc (s *StatMgr) IncCounter()\n```\n\n```go\nfunc (s *StatMgr) ListClients() string\n```\n\n```go\nfunc (s *StatMgr) OnConnect(addr string)\n```\n\n```go\nfunc (s *StatMgr) OnDisconnect(addr string)\n```\n\n```go\nfunc (s *StatMgr) Subscribe() chan string\n```\n\n```go\nfunc (s *StatMgr) Unsubscribe(ch chan string)\n```\n\n```go\ntype SubWhoElseEvent struct{}\n```\n\n```go\ntype WhoElse struct{}\n```\n\n```go\ntype WhoElseEvent struct {\n\tAddr string `am:\"addr\"`\n}\n```\n\n```go\ntype WhoElseReply struct {\n\tClients string `am:\"clients\"`\n}\n```\n\n","path":"github.com/adaptivemsg/adaptivemsg-go/examples/echo","name":"echo","synopsis":"","isRedistributable":true}
