MCPcopy
hub / github.com/aceld/zinx / newChainBuilder

Function newChainBuilder

znet/chainbuilder.go:22–26  ·  view source on GitHub ↗

newChainBuilder creates a new instance of chainBuilder.

()

Source from the content-addressed store, hash-verified

20
21// newChainBuilder creates a new instance of chainBuilder.
22func 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.
29func (ic *chainBuilder) Head(interceptor ziface.IInterceptor) {

Callers 2

newMsgHandleFunction · 0.85
newCliMsgHandleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected