Versions in this module Expand all Collapse all v0 v0.4.14 Mar 23, 2018 Changes in this version + const DefaultNameValidTime + const DefaultRSALen + const Ed25519Key + const RSAKey + type BlockOptions struct + func (api *BlockOptions) WithForce(force bool) BlockRmOption + func (api *BlockOptions) WithFormat(codec string) BlockPutOption + func (api *BlockOptions) WithHash(mhType uint64, mhLen int) BlockPutOption + type BlockPutOption func(*BlockPutSettings) error + type BlockPutSettings struct + Codec string + MhLength int + MhType uint64 + func BlockPutOptions(opts ...BlockPutOption) (*BlockPutSettings, error) + type BlockRmOption func(*BlockRmSettings) error + type BlockRmSettings struct + Force bool + func BlockRmOptions(opts ...BlockRmOption) (*BlockRmSettings, error) + type DagOptions struct + func (api *DagOptions) WithCodec(codec uint64) DagPutOption + func (api *DagOptions) WithDepth(depth int) DagTreeOption + func (api *DagOptions) WithHash(mhType uint64, mhLen int) DagPutOption + func (api *DagOptions) WithInputEnc(enc string) DagPutOption + type DagPutOption func(*DagPutSettings) error + type DagPutSettings struct + Codec uint64 + InputEnc string + MhLength int + MhType uint64 + func DagPutOptions(opts ...DagPutOption) (*DagPutSettings, error) + type DagTreeOption func(*DagTreeSettings) error + type DagTreeSettings struct + Depth int + func DagTreeOptions(opts ...DagTreeOption) (*DagTreeSettings, error) + type KeyGenerateOption func(*KeyGenerateSettings) error + type KeyGenerateSettings struct + Algorithm string + Size int + func KeyGenerateOptions(opts ...KeyGenerateOption) (*KeyGenerateSettings, error) + type KeyOptions struct + func (api *KeyOptions) WithForce(force bool) KeyRenameOption + func (api *KeyOptions) WithSize(size int) KeyGenerateOption + func (api *KeyOptions) WithType(algorithm string) KeyGenerateOption + type KeyRenameOption func(*KeyRenameSettings) error + type KeyRenameSettings struct + Force bool + func KeyRenameOptions(opts ...KeyRenameOption) (*KeyRenameSettings, error) + type NameOptions struct + func (api *NameOptions) WithCache(cache bool) NameResolveOption + func (api *NameOptions) WithKey(key string) NamePublishOption + func (api *NameOptions) WithLocal(local bool) NameResolveOption + func (api *NameOptions) WithRecursive(recursive bool) NameResolveOption + func (api *NameOptions) WithValidTime(validTime time.Duration) NamePublishOption + type NamePublishOption func(*NamePublishSettings) error + type NamePublishSettings struct + Key string + ValidTime time.Duration + func NamePublishOptions(opts ...NamePublishOption) (*NamePublishSettings, error) + type NameResolveOption func(*NameResolveSettings) error + type NameResolveSettings struct + Cache bool + Local bool + Recursive bool + func NameResolveOptions(opts ...NameResolveOption) (*NameResolveSettings, error) + type ObjectAddLinkOption func(*ObjectAddLinkSettings) error + type ObjectAddLinkSettings struct + Create bool + func ObjectAddLinkOptions(opts ...ObjectAddLinkOption) (*ObjectAddLinkSettings, error) + type ObjectNewOption func(*ObjectNewSettings) error + type ObjectNewSettings struct + Type string + func ObjectNewOptions(opts ...ObjectNewOption) (*ObjectNewSettings, error) + type ObjectOptions struct + func (api *ObjectOptions) WithCreate(create bool) ObjectAddLinkOption + func (api *ObjectOptions) WithDataType(t string) ObjectPutOption + func (api *ObjectOptions) WithInputEnc(e string) ObjectPutOption + func (api *ObjectOptions) WithType(t string) ObjectNewOption + type ObjectPutOption func(*ObjectPutSettings) error + type ObjectPutSettings struct + DataType string + InputEnc string + func ObjectPutOptions(opts ...ObjectPutOption) (*ObjectPutSettings, error) + type PinAddOption func(*PinAddSettings) error + type PinAddSettings struct + Recursive bool + func PinAddOptions(opts ...PinAddOption) (*PinAddSettings, error) + type PinLsOption func(settings *PinLsSettings) error + type PinLsSettings struct + Type string + func PinLsOptions(opts ...PinLsOption) (*PinLsSettings, error) + type PinOptions struct + func (api *PinOptions) WithRecursive(recucsive bool) PinAddOption + func (api *PinOptions) WithType(t string) PinLsOption + func (api *PinOptions) WithUnpin(unpin bool) PinUpdateOption + type PinUpdateOption func(*PinUpdateSettings) error + type PinUpdateSettings struct + Unpin bool + func PinUpdateOptions(opts ...PinUpdateOption) (*PinUpdateSettings, error) v0.4.14-rc3 Mar 20, 2018 v0.4.14-rc2 Mar 13, 2018 v0.4.14-rc1 Mar 7, 2018