Versions in this module Expand all Collapse all v0 v0.4.2 Jun 28, 2019 v0.4.1 Jun 13, 2019 Changes in this version + type Info struct + func (s *Info) Info() *Info + type Swarm struct + func NewSwarm(config *api.Config, mockStore *mock.NodeStore) (self *Swarm, err error) + func (s *Swarm) APIs() []rpc.API + func (s *Swarm) Protocols() (protos []p2p.Protocol) + func (s *Swarm) RegisterPssProtocol(topic *pss.Topic, spec *protocols.Spec, targetprotocol *p2p.Protocol, ...) (*pss.Protocol, error) + func (s *Swarm) SetChequebook(ctx context.Context) error + func (s *Swarm) Start(srv *p2p.Server) error + func (s *Swarm) Stop() error