()
| 42 | ) |
| 43 | |
| 44 | func WithEncryption() nodes.Option { |
| 45 | return func(options *nodes.RouterOptions) { |
| 46 | options.Wrappers = append(options.Wrappers, &Handler{}) |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | // Handler encryption node middleware |
| 51 | type Handler struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…