move to micro v4 #154

Merged
vtolstov merged 95 commits from v4 into master 2023-04-28 22:00:03 +03:00
Showing only changes of commit e8281da860 - Show all commits

View File

@ -135,12 +135,10 @@ func RegisterRPCHandler(b bool) server.Option {
type handlerMetadataKey struct{} type handlerMetadataKey struct{}
func HandlerMetadata(md map[string]map[string]string) server.HandlerOption { func HandlerMetadata(md map[string]map[string]map[string]string) server.HandlerOption {
return server.SetHandlerOption(handlerMetadataKey{}, md) return server.SetHandlerOption(handlerMetadataKey{}, md)
} }
type headerKey struct{}
type handlerOptions struct { type handlerOptions struct {
headers []string headers []string
cookies []string cookies []string