slavenode

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package slavenode support the slave mode and sends statistic to master node.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SlaveNode

type SlaveNode struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

SlaveNode is main package object.

func New

func New(host string) (*SlaveNode, error)

New is a constructor.

func (*SlaveNode) Send

Send sends data to master node(s).

Jump to

Keyboard shortcuts

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