Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultSchemaLoader ¶
type DefaultSchemaLoader struct {
IpfsURL string `json:"ipfs_url"`
}
DefaultSchemaLoader is loader defined by auth lib, but can be replaced with any custom loader
type FSKeyLoader ¶
type FSKeyLoader struct {
Dir string
}
FSKeyLoader read keys from filesystem
func (FSKeyLoader) Load ¶
func (m FSKeyLoader) Load(id circuits.CircuitID) ([]byte, error)
Load keys from embedded FS
type SchemaLoader ¶
type SchemaLoader interface {
Load(ctx context.Context, URL string) (schemaBytes []byte, extension string, err error)
}
SchemaLoader is an interface for schema loading
type VerificationKeyLoader ¶
VerificationKeyLoader load verification key bytes for specific circuit
Click to show internal directories.
Click to hide internal directories.