server: add server.SetHandlerOption helper

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2023-02-13 23:31:38 +03:00
parent 3ba8cb7f9e
commit 395a3eed3d
2 changed files with 11 additions and 1 deletions

View File

@@ -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
}