server: add server.SetHandlerOption helper
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
@@ -322,7 +322,7 @@ type HandlerOption func(*HandlerOptions)
|
||||
type HandlerOptions struct {
|
||||
// Context holds external options
|
||||
Context context.Context
|
||||
// Metadata for hondler
|
||||
// Metadata for handler
|
||||
Metadata map[string]metadata.Metadata
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user