iterator

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateIterator

type CertificateIterator interface {
	Iterator
	Cert() (*models.Certificate, error)
	All() ([]*models.Certificate, error)
}

CertificateIterator allows access to CertificateStore models

type CertificateRequestIterator

type CertificateRequestIterator interface {
	Iterator
	CertReq() (*models.CertificateRequest, error)
	All() ([]*models.CertificateRequest, error)
}

CertificateRequestIterator allows access to CertificateRequestStore models

type DirectoryIterator

type DirectoryIterator interface {
	Iterator
	Id() string
	VASP() (*pb.VASP, error)
	All() ([]*pb.VASP, error)
	SeekId(vaspID string) bool
}

DirectoryIterator allows access to DirectoryStore models

type Iterator

type Iterator interface {
	Next() bool
	Prev() bool
	Error() error
	Release()
}

Iterators allow memory safe list operations from the Store.

Jump to

Keyboard shortcuts

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