static

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type StaticGroupManager

type StaticGroupManager struct {
	// contains filtered or unexported fields
}

func NewStaticGroupManager

func NewStaticGroupManager(
	group []rln.IDCommitment,
	identityCredential rln.IdentityCredential,
	index rln.MembershipIndex,
	rlnInstance *rln.RLN,
	rootTracker *group_manager.MerkleRootTracker,
	log *zap.Logger,
) (*StaticGroupManager, error)

func (*StaticGroupManager) IdentityCredentials

func (gm *StaticGroupManager) IdentityCredentials() (rln.IdentityCredential, error)

func (*StaticGroupManager) IsReady added in v0.8.0

func (gm *StaticGroupManager) IsReady(ctx context.Context) (bool, error)

func (*StaticGroupManager) MembershipIndex

func (gm *StaticGroupManager) MembershipIndex() rln.MembershipIndex

func (*StaticGroupManager) Start

func (gm *StaticGroupManager) Start(ctx context.Context) error

func (*StaticGroupManager) Stop

func (gm *StaticGroupManager) Stop() error

Stop is a function created just to comply with the GroupManager interface (it does nothing)

Jump to

Keyboard shortcuts

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