Documentation ¶
Overview ¶
Copyright 2023 The Go SSI Framework Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllKeys ¶
func StoreBucket ¶
Types ¶
type DidBucket ¶
type DidBucket struct { Did string `json:"did,omitempty"` IssuanceKey jwk.Key `json:"issKey,omitempty"` PresentationKey jwk.Key `json:"presKey,omitempty"` AdminEncryptionKey jwk.Key `json:"encKey,omitempty"` AdminTransactionKey jwk.Key `json:"txnKey,omitempty"` AdminSigningKey jwk.Key `json:"sigKey,omitempty"` Document map[string]interface{} `json:"doc,omitempty"` Token string `json:"token,omitempty"` }
func GetBucketByDid ¶
func (*DidBucket) MarshalJSON ¶
func (*DidBucket) UnmarshalJSON ¶
type MKVStore ¶
MemoryStore token storage based on buntdb(https://github.com/tidwall/buntdb)
func NewFileKVStore ¶
NewMemoryKVStore create a store instance based on a file
func NewMemoryKVStore ¶
NewMemoryKVStore create a store instance based on memory
func (*MKVStore) GetAllKeys ¶
Click to show internal directories.
Click to hide internal directories.