package
0.1.1
Repository: https://github.com/x3me/go-netconf.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

DialSSH creates a new NETCONF session using a SSH Transport.
DialSSHTimeout creates a new NETCONF session using a SSH Transport with timeout.
DialTelnet dials and returns the usable telnet session.
MethodGetConfig files a NETCONF get-config source request with the remote host.
MethodLock files a NETCONF lock target request with the remote host.
MethodUnlock files a NETCONF unlock target request with the remote host.
NewReadWriteCloser creates a new combined IO Reader and Write Closer from the provided objects.
NewRPCMessage generates a new RPC Message structure with the provided methods.
NewSession creates a new NETCONF session using the provided transport layer.
NewSSHSession creates a new NETCONF session using an existing net.Conn.
NewStdLog creates a new StdLog instance with the log level and logger provided.
SetLog sets the logger as the currently selected logger.
SSHConfigPassword is a convenience function that takes a username and password and returns a new ssh.ClientConfig setup to pass that username and password.
SSHConfigPubKeyAgent is a convience function that takes a username and returns a new ssh.Clientconfig setup to pass credentials received from an ssh agent.
SSHConfigPubKeyFile is a convenience function that takes a username, private key and passphrase and returns a new ssh.ClientConfig setup to pass credentials to DialSSH.

# Constants

Sets the log levels based on the system being connected to.
Sets the log levels based on the system being connected to.
Sets the log levels based on the system being connected to.
Sets the log levels based on the system being connected to.

# Variables

DefaultCapabilities sets the default capabilities of the client library.

# Structs

HelloMessage is used when bringing up a NETCONF session.
NoopLog is for use when you don't want to actually log out.
ReadWriteCloser represents a combined IO Reader and WriteCloser.
RPCError defines an error reply to a RPC request.
RPCMessage represents an RPC Message to be sent.
RPCReply defines a reply to a RPC request.
Session defines the necessary components for a NETCONF session.
StdLog represents the log level and logger for use in logging.
TransportSSH maintains the information necessary to communicate with the remote device over SSH.
TransportTelnet is used to define what makes up a Telnet Transport layer for NETCONF.

# Interfaces

Logger defines different logging levels for use by a logger.
RPCMethod defines the interface for creating an RPC method.
Transport interface defines what characterisitics make up a NETCONF transport layer object.
VendorIOProc is the interface used when establishing a telnet NETCONF session.

# Type aliases

LogLevel represents at which level the app should log.
RawMethod defines how a raw text request will be responded to.