Skip to content
Snippets Groups Projects
plugin.go 308 B
package gossip

import "github.com/iotaledger/goshimmer/packages/node"

var PLUGIN = node.NewPlugin("Gossip", configure, run)

func configure(plugin *node.Plugin) {
    configureNeighbors(plugin)
    configureServer(plugin)
}

func run(plugin *node.Plugin) {
    runNeighbors(plugin)
    runServer(plugin)
}