Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChainFilters ¶
func ChainFilters(endorser peer.EndorserServer, filters ...Filter) peer.EndorserServer
chainfilters按提供的顺序链接给定的auth筛选器。 最后一个过滤器总是转发给背书人。
Types ¶
type Filter ¶
type Filter interface { peer.EndorserServer //init用下一个背书服务器初始化筛选器 Init(next peer.EndorserServer) }
筛选器定义一个身份验证筛选器,用于截取 流程建议方法
Click to show internal directories.
Click to hide internal directories.