Versions in this module Expand all Collapse all v0 v0.0.2 Jan 22, 2021 v0.0.1 Jan 22, 2021 Changes in this version + func New(ctx Context, cfg fab.ChannelCfg) (fab.ChannelMembership, error) + func NewRefCache(refresh time.Duration) *lazycache.Cache + type CacheKey interface + ChConfigRef func() *lazyref.Reference + ChannelID func() string + Context func() Context + func NewCacheKey(context Context, chConfigRef *lazyref.Reference, channelID string) (CacheKey, error) + type Context struct + EndpointConfig fab.EndpointConfig + type Ref struct + func NewRef(refresh time.Duration, context Context, chConfigRef *lazyref.Reference) *Ref + func (ref *Ref) ContainsMSP(msp string) bool + func (ref *Ref) Validate(serializedID []byte) error + func (ref *Ref) Verify(serializedID []byte, msg []byte, sig []byte) error