diff --git a/server/options.go b/server/options.go index 704aa112..5b177f93 100644 --- a/server/options.go +++ b/server/options.go @@ -302,7 +302,8 @@ type HandlerOptions struct { // NewHandlerOptions creates new HandlerOptions func NewHandlerOptions(opts ...HandlerOption) HandlerOptions { options := HandlerOptions{ - Context: context.Background(), + Context: context.Background(), + Metadata: make(map[string]metadata.Metadata), } for _, o := range opts {