go-neb-wrapper

command module
v0.0.0-...-68f7547 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

README

go-naemon-broker-module

Go Report Card

What is this

This is an NEB module API for Naemon written in Golang. This allows you to write NEB modules in Golang, which is otherwise only possible in C / C++.

It is using CGo therefor this is not plain Go, there you have to be careful, if you want to write a module.

Minimalistic-Example

main.go

Modules written with this API

If you have written a module yourself, let us know.

Build

The module has to be compiled as shared library so Naemon can load it.

You will have to install the naemon-dev package in order to find all required c header files.

Naemon:

  • go build -buildmode=c-shared -ldflags "-s -w" -o go-neb-wrapper-example.so

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
neb

Jump to

Keyboard shortcuts

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