Versions in this module Expand all Collapse all v1 v1.1.0 Nov 15, 2018 v1.0.0 Nov 15, 2018 Changes in this version + type Info struct + func (self *Info) Info() *Info + type Swarm struct + func NewLocalSwarm(datadir, port string) (self *Swarm, err error) + func NewSwarm(ctx *node.ServiceContext, backend chequebook.Backend, config *api.Config) (self *Swarm, err error) + func (self *Swarm) API() *SwarmAPI + func (self *Swarm) APIs() []rpc.API + func (self *Swarm) Api() *api.Api + func (self *Swarm) Protocols() []p2p.Protocol + func (self *Swarm) SetChequebook(ctx context.Context) error + func (self *Swarm) Start(srv *p2p.Server) error + func (self *Swarm) Stop() error + type SwarmAPI struct + Api *api.Api + Backend chequebook.Backend + PrvKey *ecdsa.PrivateKey