Run NodesReference
pubsub
Package pubsub
import "github.com/luxfi/node/pubsub"Types
AddAddresses
AddAddresses command to add addresses
Deprecated: The pubsub server is deprecated.
Command
Command execution command
Deprecated: The pubsub server is deprecated.
func (c *Command) String() stringFilter
FilterParam
func NewFilterParam() *FilterParamfunc (f *FilterParam) Add(bl ...[]byte) errorfunc (f *FilterParam) Check(addr []byte) boolfunc (f *FilterParam) Filter() bloom.Filterfunc (f *FilterParam) Len() intfunc (f *FilterParam) NewSet()func (f *FilterParam) SetFilter(filter bloom.Filter) bloom.FilterFilterer
NewBloom
NewBloom command for a new bloom filter
Deprecated: The pubsub server is deprecated.
func (c *NewBloom) IsParamsValid() boolNewSet
NewSet command for a new map set
Deprecated: The pubsub server is deprecated.
Server
Server maintains the set of active clients and sends messages to the clients.
func New(log log.Logger) *Serverfunc (s *Server) Publish(parser Filterer)func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)