libyang

package
v0.0.0-...-8178683 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(yangFolderPath string, temporaryXmlFilePath string, temporaryJsonFilePath string) *libyang

Types

type LibyangInterface

type LibyangInterface interface {
	// TODO パスマップのsync機能)
	ValidateAndConvertXMLToJSON(deviceName string, xml []byte) (bool, []byte, error)
	ValidateAndConvertJSONToXML(deviceName string, jsonFile []byte) (bool, []byte, error)
	ValidateJsonForYang(deviceName string, jsonFile []byte) (bool, error)
}

Jump to

Keyboard shortcuts

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