package
2.0.0-alpha3+incompatible
Repository: https://github.com/nray-scanner/nray.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

HandleHeartbeatAck unpacks the message and returns the values.
HandleRegisteredNode extracts the assigned scanner ID as well as the clock offset.
InitGlobalServerConfig initializes the GlobalConfig from the values provided by viper.
RunNode is called by the main function of the node binary and gets everything up and running.
SendMessage takes a socket and a servermessage that is going to be sent on the socket.
Start starts the core.

# Variables

CurrentConfig is the initialized struct containing the configuration.

# Structs

GlobalConfig holds configuration settings that are relevant for the operation of the core.
Job keeps the state regarding work items.
Node represents relevant information about a node.
NodeCmdArgs holds user data that is passed on to scanner node.
Pool is a container that contains nodes and work those nodes have still to do.

# Type aliases

JobState defines the state a Job is currently in.