Documentation
¶
Index ¶
- type Keeper
- func (k Keeper) Get(ctx sdk.Context, key []byte, prefix []byte, unmarshal UnmarshalFn) (i interface{}, found bool)
- func (k Keeper) GetAll(ctx sdk.Context, prefix []byte, unmarshal UnmarshalFn) (i []interface{})
- func (k Keeper) GetDidDocument(ctx sdk.Context, key []byte) (types.DidDocument, bool)
- func (k Keeper) GetVerifiableCredential(ctx sdk.Context, key []byte) (types.VerifiableCredential, bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Set(ctx sdk.Context, key []byte, prefix []byte, i interface{})
- func (k Keeper) SetDidDocument(ctx sdk.Context, key []byte, document types.DidDocument)
- func (k Keeper) SetVerifiableCredential(ctx sdk.Context, key []byte, document types.VerifiableCredential)
- func (k Keeper) UnmarshalDidDocument(value []byte) (interface{}, bool)
- func (k Keeper) UnmarshalVerifiableCredential(value []byte) (interface{}, bool)
- type UnmarshalFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of the issuer store
func (Keeper) Get ¶
func (k Keeper) Get(ctx sdk.Context, key []byte, prefix []byte, unmarshal UnmarshalFn) (i interface{}, found bool)
Get gets an item from the store by bytes
func (Keeper) GetAll ¶
func (k Keeper) GetAll(ctx sdk.Context, prefix []byte, unmarshal UnmarshalFn) (i []interface{})
GetAll values from with a prefix from the store
func (Keeper) GetDidDocument ¶
func (Keeper) GetVerifiableCredential ¶
func (Keeper) SetDidDocument ¶
func (Keeper) SetVerifiableCredential ¶
func (Keeper) UnmarshalDidDocument ¶
func (Keeper) UnmarshalVerifiableCredential ¶
type UnmarshalFn ¶
UnmarshalFn is a generic function to unmarshal bytes
Click to show internal directories.
Click to hide internal directories.