newChainBuilder creates a new instance of chainBuilder.
()
| 20 | |
| 21 | // newChainBuilder creates a new instance of chainBuilder. |
| 22 | func newChainBuilder() *chainBuilder { |
| 23 | return &chainBuilder{ |
| 24 | body: make([]ziface.IInterceptor, 0), |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | // Head adds an interceptor to the head of the chain. |
| 29 | func (ic *chainBuilder) Head(interceptor ziface.IInterceptor) { |
no outgoing calls
no test coverage detected