availability

package
v2.7.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostedLoader

type HostedLoader struct {
	Type proto.DataAvailabilityType
	Args LoaderArgs
}

func NewHostedLoader

func NewHostedLoader(id string) HostedLoader

func (HostedLoader) ToProto

func (e HostedLoader) ToProto() *proto.Loader

type HostedPublisher

type HostedPublisher struct {
	Type proto.DataAvailabilityType
	Args PublisherArgs
}

func NewHostedPublisher

func NewHostedPublisher() HostedPublisher

func (HostedPublisher) ToProto

func (e HostedPublisher) ToProto() *proto.Publisher

type IpfsLoader

type IpfsLoader struct {
	Type proto.DataAvailabilityType
	Args LoaderArgs
}

func NewIpfsLoader

func NewIpfsLoader(hash string) IpfsLoader

func (IpfsLoader) ToProto

func (e IpfsLoader) ToProto() *proto.Loader

type IpfsPublisher

type IpfsPublisher struct {
	Type proto.DataAvailabilityType
	Args PublisherArgs
}

func NewIpfsPublisher

func NewIpfsPublisher() IpfsPublisher

func (IpfsPublisher) ToProto

func (e IpfsPublisher) ToProto() *proto.Publisher

type Loader

type Loader interface {
	ToProto() *proto.Loader
}

type LoaderArgs

type LoaderArgs struct {
	Id string
}

func (LoaderArgs) ToProto

func (e LoaderArgs) ToProto() *proto.LoaderArgs

type Publisher

type Publisher interface {
	ToProto() *proto.Publisher
}

type PublisherArgs

type PublisherArgs struct {
}

func (PublisherArgs) ToProto

func (e PublisherArgs) ToProto() *proto.PublisherArgs

Jump to

Keyboard shortcuts

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