util

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: May 10, 2021 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeCid

func MakeCid(i interface{}) (cid.Cid, error)

Types

type RPCBuilder

type RPCBuilder struct {
	// contains filtered or unexported fields
}

func NewBuiler

func NewBuiler() *RPCBuilder

func (*RPCBuilder) AddService

func (builder *RPCBuilder) AddService(service RPCService) error

func (*RPCBuilder) AddServices

func (builder *RPCBuilder) AddServices(services ...RPCService) error

func (*RPCBuilder) Build

func (builder *RPCBuilder) Build() *jsonrpc.RPCServer

func (*RPCBuilder) NameSpace

func (builder *RPCBuilder) NameSpace(nameSpaece string) *RPCBuilder

type RPCService

type RPCService interface {
}

type ReadOnlyIpldStore

type ReadOnlyIpldStore struct {
	cbor.IpldStore
}

ReadOnlyIpldStore is a store that rejects writes.

func (*ReadOnlyIpldStore) Put

func (s *ReadOnlyIpldStore) Put(ctx context.Context, v interface{}) (cid.Cid, error)

Put returns an error.

Directories

Path Synopsis
blockstore contains all the basic blockstore constructors used by lotus.
blockstore contains all the basic blockstore constructors used by lotus.

Jump to

Keyboard shortcuts

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