gnmi

package module
v0.0.0-...-dc4409a Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 19 Imported by: 1

README

FreeCONF

Add support or configuration, metrics, alerts and management functions to your application! and be compatible with a growing set of DevOps tools instantly.

In this repository

  • Support for Google's gNMI server-side management protocol handlers to any Go application. gNMI is a management standard to manage a system's config and metrics.
  • Works in conjunction with FreeCONF YANG and FreeCONF RESTCONF projects. If you are already using FreeCONF RESTCONF library, you can add support for Google's gNMI protocol with a couple lines of code.
  • Works in conjunction with FreeCONF lang to add support for Python.

Getting Started

Building Requirements

Requires Go version 1.20 or greater.

Getting the source

go get -u github.com/freeconf/gnmi

Resources

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InternalYPath = source.Any(restconf.InternalYPath, source.EmbedDir(internal, "yang"))

Access to fc-gnmi yang definitions.

View Source
var Version = "0.0.0"

Functions

func Manage

func Manage(s *Server) node.Node

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(d *device.Local) *Server

func (*Server) Apply

func (s *Server) Apply(opts ServerOpts) error

func (*Server) Options

func (s *Server) Options() ServerOpts

type ServerOpts

type ServerOpts struct {
	Port string
}

Jump to

Keyboard shortcuts

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