Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPeerAuthorizer ¶
func NewPeerAuthorizer(names []string) flow.PeerAuthorizer
Types ¶
type AllowAllPeersAuthorizer ¶
type AllowAllPeersAuthorizer struct{}
func (AllowAllPeersAuthorizer) AuthorizePeer ¶
func (AllowAllPeersAuthorizer) AuthorizePeer( ctx *context.T, localEndpoint, remoteEndpoint naming.Endpoint, remoteBlessings security.Blessings, remoteDischarges security.Discharges, ) ([]string, []security.RejectedBlessing, error)
func (AllowAllPeersAuthorizer) BlessingsForPeer ¶
func (AllowAllPeersAuthorizer) BlessingsForPeer(ctx *context.T, _ []string) (security.Blessings, security.Discharges, error)
Click to show internal directories.
Click to hide internal directories.