()
| 48 | ) |
| 49 | |
| 50 | func WithStructInterceptor() nodes.Option { |
| 51 | return func(options *nodes.RouterOptions) { |
| 52 | options.Wrappers = append(options.Wrappers, &StructStorageHandler{}) |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | // StructStorageHandler intercepts request to a flat-storage |
| 57 | type StructStorageHandler struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…