Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetBoostrapper ¶
type NetBoostrapper interface { app.Net GetIpfsLite() *ipfslite.Peer Bootstrap(addrs []peer.AddrInfo) }
DefaultNetwork is a boostrapable default Net with sane defaults.
func DefaultNetwork ¶
func DefaultNetwork(repoPath string, opts ...NetOption) (NetBoostrapper, error)
type NetConfig ¶
type NetConfig struct { HostAddr ma.Multiaddr Debug bool GRPCOptions []grpc.ServerOption }
type NetOption ¶
func WithNetDebug ¶
func WithNetGRPCOptions ¶
func WithNetGRPCOptions(opts ...grpc.ServerOption) NetOption
func WithNetHostAddr ¶
Click to show internal directories.
Click to hide internal directories.