Versions in this module Expand all Collapse all v1 v1.0.0 Aug 15, 2021 Changes in this version + type CommonAPI struct + APISecret *dtypes.APIAlg + ConnGater *conngater.BasicConnectionGater + Host host.Host + RawHost lp2p.RawHost + Reporter metrics.Reporter + Router lp2p.BaseIpfsRouting + ShutdownChan dtypes.ShutdownChan + Sk *dtypes.ScoreKeeper + UniversalStore dtypes.UniversalBlockstore + func (a *CommonAPI) AuthNew(ctx context.Context, perms []auth.Permission) ([]byte, error) + func (a *CommonAPI) AuthVerify(ctx context.Context, token string) ([]auth.Permission, error) + func (a *CommonAPI) Closing(ctx context.Context) (<-chan struct{}, error) + func (a *CommonAPI) GC(ctx context.Context) error + func (a *CommonAPI) ID(context.Context) (peer.ID, error) + func (a *CommonAPI) LogList(context.Context) ([]string, error) + func (a *CommonAPI) LogSetLevel(ctx context.Context, subsystem, level string) error + func (a *CommonAPI) NetAddrsListen(context.Context) (peer.AddrInfo, error) + func (a *CommonAPI) NetAgentVersion(ctx context.Context, p peer.ID) (string, error) + func (a *CommonAPI) NetAutoNatStatus(ctx context.Context) (i api.NatInfo, err error) + func (a *CommonAPI) NetBandwidthStats(ctx context.Context) (metrics.Stats, error) + func (a *CommonAPI) NetBandwidthStatsByPeer(ctx context.Context) (map[string]metrics.Stats, error) + func (a *CommonAPI) NetBandwidthStatsByProtocol(ctx context.Context) (map[protocol.ID]metrics.Stats, error) + func (a *CommonAPI) NetBlockAdd(ctx context.Context, acl api.NetBlockList) error + func (a *CommonAPI) NetBlockList(ctx context.Context) (result api.NetBlockList, err error) + func (a *CommonAPI) NetBlockRemove(ctx context.Context, acl api.NetBlockList) error + func (a *CommonAPI) NetConnect(ctx context.Context, p peer.AddrInfo) error + func (a *CommonAPI) NetConnectedness(ctx context.Context, pid peer.ID) (network.Connectedness, error) + func (a *CommonAPI) NetDisconnect(ctx context.Context, p peer.ID) error + func (a *CommonAPI) NetFindPeer(ctx context.Context, p peer.ID) (peer.AddrInfo, error) + func (a *CommonAPI) NetPeerInfo(_ context.Context, p peer.ID) (*api.ExtendedPeerInfo, error) + func (a *CommonAPI) NetPeers(context.Context) ([]peer.AddrInfo, error) + func (a *CommonAPI) NetPubsubScores(context.Context) ([]api.PubsubScore, error) + func (a *CommonAPI) Session(ctx context.Context) (uuid.UUID, error) + func (a *CommonAPI) Shutdown(ctx context.Context) error + func (a *CommonAPI) Version(context.Context) (api.APIVersion, error)