Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentReader ¶
type ContentStorage ¶
type ContentStorage interface {
ContentReader
ContentWriter
}
type ContentWriter ¶
type MessageReader ¶
type MessageStorage ¶
type MessageStorage interface {
MessageReader
MessageWriter
}
type MessageWriter ¶
type ProtoMessageStorage ¶
type ProtoMessageStorage struct {
// contains filtered or unexported fields
}
func NewProtoMessageStorage ¶
func NewProtoMessageStorage(contentStorage ContentStorage) *ProtoMessageStorage
func (*ProtoMessageStorage) Read ¶
func (p *ProtoMessageStorage) Read(ctx context.Context, cid cid.Cid) (ProtoUnmarshallable, error)
type ProtoUnmarshallable ¶
ProtoUnmarshallable can be used to deserialize message data to proto structure
Click to show internal directories.
Click to hide internal directories.