(resolveFunc CommandInfoResolveFunc)
| 164 | } |
| 165 | |
| 166 | func NewCommandInfoResolver(resolveFunc CommandInfoResolveFunc) *commandInfoResolver { |
| 167 | return &commandInfoResolver{ |
| 168 | resolveFunc: resolveFunc, |
| 169 | } |
| 170 | } |
| 171 | |
| 172 | func NewDefaultCommandPolicyResolver() *commandInfoResolver { |
| 173 | return NewCommandInfoResolver(func(ctx context.Context, cmd Cmder) *routing.CommandPolicy { |
no outgoing calls
no test coverage detected