func (s *server) Miaow(ctx context.Context, in *kitter.Message) (*kitter.Error, error) {
	s.broadcaster.Write(*in)
	return &kitter.Error{Code: -1}, nil
}
SayHello implements helloworld.GreeterServer
package server
import (
	"fmt"
	"log"
	"net"
	"github.com/gokitter/kitter/kitter"
	"golang.org/x/net/context"
	"google.golang.org/grpc"
)
const port = ":50051"
type broadcaster struct {
	channels map[kitter.Kitter_MiaowStreamServer]chan kitter.Message
}
func (b *broadcaster) Write(message kitter.Message) {
	for _, channel := range b.channels {
		go func() {
			channel <- message
		}()
	}
}
func (b *broadcaster) Listen(stream kitter.Kitter_MiaowStreamServer) chan kitter.Message {
	fmt.Println("Register new channel")
	channel := make(chan kitter.Message)
	b.channels[stream] = channel
	return channel
}
func newBroadcaster() *broadcaster {
	m := make(map[kitter.Kitter_MiaowStreamServer]chan kitter.Message)
	return &broadcaster{channels: m}
}
type server struct {
	broadcaster *broadcaster
}