auth

package
v0.0.0-...-523a819 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

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)
}

筛选器定义一个身份验证筛选器,用于截取 流程建议方法

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL