record

package
v0.0.0-...-ec6187d Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Content

type Content struct {
	Digest     string `bson:"digest"`
	DigestAlgo string `bson:"digest_algo"`
	URI        string `bson:"uri"`
	Meta       string `bson:"meta"`
}

type DocMsgRecordCreate

type DocMsgRecordCreate struct {
	Contents []Content `bson:"contents"`
	Creator  string    `bson:"creator"`
}

func (*DocMsgRecordCreate) BuildMsg

func (d *DocMsgRecordCreate) BuildMsg(msg interface{})

func (*DocMsgRecordCreate) GetType

func (d *DocMsgRecordCreate) GetType() string

func (*DocMsgRecordCreate) HandleTxMsg

func (m *DocMsgRecordCreate) HandleTxMsg(v SdkMsg) MsgDocInfo

type RecordClient

type RecordClient struct {
}

func NewClient

func NewClient() RecordClient

func (RecordClient) HandleTxMsg

func (record RecordClient) HandleTxMsg(v types.Msg) (MsgDocInfo, bool)

Jump to

Keyboard shortcuts

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