Fix server panic

This commit is contained in:
Asim 2015-12-23 22:45:32 +00:00
parent 6226a80e78
commit 1da6de05ee

View File

@ -25,6 +25,7 @@ type options struct {
func newOptions(opt ...Option) options {
opts := options{
codecs: make(map[string]codec.NewCodec),
metadata: map[string]string{},
}
for _, o := range opt {