Documentation ¶
Index ¶
- Constants
- func InitDB(cli db.DBCreator, ...) error
- type ProofDB
- func (db1 *ProofDB) GetProof(id string) (*model.Proof, error)
- func (db1 *ProofDB) GetProofLog(id string) (*model.Log, error)
- func (db1 *ProofDB) GetProofUpdateRecord(id string, version int) (*model.Proof, error)
- func (db1 *ProofDB) GetTemplate(id string) (*model.Template, error)
- func (db1 *ProofDB) ListProof(id string) ([]*model.Proof, error)
Constants ¶
View Source
const ProofLogMapping = `` /* 757-byte string literal not displayed */
ProofLogMapping Proof 删除和恢复的日志
View Source
const ProofMapping = `` /* 1183-byte string literal not displayed */
ProofMapping es proof sender: 存证的上传者 organization:存证属于哪个组织或者公司 height_index:存证所在的区块高度 tx_hash:存证所在的交易hash值 ref_hashes:与本存证相关联的交易hash data:存证类容 delete: 此存证被删除,标记删除此存证的hash ProofMapping mapping
View Source
const ProofTemplateMapping = `` /* 1196-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProofDB ¶
type ProofDB struct {
// contains filtered or unexported fields
}
ProofDB ProofDB
func (*ProofDB) GetProofLog ¶
GetProofLog impl
func (*ProofDB) GetProofUpdateRecord ¶
GetProofLog impl
func (*ProofDB) GetTemplate ¶
GetProof impl
Click to show internal directories.
Click to hide internal directories.