Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNullNode ¶
Types ¶
type Config ¶
type Config struct { EnodeString string // encryption AsymKey *ecdsa.PrivateKey }
type P2PMessager ¶
type P2PMessager struct {
// contains filtered or unexported fields
}
func NewP2PMessager ¶
func NewP2PMessager(config *Config, nameServer NameServer) (*P2PMessager, error)
func (*P2PMessager) AddToptic ¶
func (m *P2PMessager) AddToptic(topic, passwd string) error
func (*P2PMessager) Run ¶
func (m *P2PMessager) Run(topic, passwd string)
Click to show internal directories.
Click to hide internal directories.