func (b *PubSubBroker) Subscribe() Handler {
	return HandlerFunc(func(w resp.ResponseWriter, c *resp.Command) {
		if c.ArgN() != 1 {
			w.AppendError(WrongNumberOfArgs(c.Name))
			return
		}
		b.subscribe(c.Arg(0).String(), w)
	})
}
// Subscribe returns a subscribe handler
Subscribe returns a subscribe handler
// Subscribe returns a subscribe handler
func (b *PubSubBroker) Subscribe() Handler {
	return HandlerFunc(func(w resp.ResponseWriter, c *resp.Command) {
		if c.ArgN() != 1 {
			w.AppendError(WrongNumberOfArgs(c.Name))
			return
		}
		b.subscribe(c.Arg(0).String(), w)
	})
}
func ( b * PubSubBroker ) Subscribe ( ) Handler { return HandlerFunc ( func ( w resp . ResponseWriter , c * resp . Command ) { if c . ArgN ( ) != 1 { w . AppendError ( WrongNumberOfArgs ( c . Name ) ) return } b . subscribe ( c . Arg ( 0 ) . String ( ) , w ) } ) }
Subscribe returns a subscribe handler
Subscribe returns a subscribe handler