node

package
v0.0.0-...-cbcbfe2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Msg

type Msg struct {
	TS      time.Time
	Payload string
}

type Node

type Node struct {
	Log        *zap.SugaredLogger
	Number     int
	SessionID  string
	TotalNodes int
	Paths      struct {
		SessionID string
		Node      string
		Results   string
	}
	// contains filtered or unexported fields
}

func New

func New(maxNodes int, etcd *clientv3.Client, logger *zap.Logger) (*Node, error)

func (*Node) GetNodeNumber

func (n *Node) GetNodeNumber() error

func (*Node) GetSession

func (n *Node) GetSession() error

func (*Node) Start

func (n *Node) Start(johnCmd john.Cmd) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL