package
0.8.0
Repository: https://github.com/alkiranet/govpp.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AsyncConnect asynchronously connects to VPP using specified VPP adapter and returns the connection handle and ConnectionState channel.
AsyncConnectStats connects to the VPP stats socket asynchronously and returns the connection handle with state channel.
Connect connects to VPP API using specified adapter and returns a connection handle.
ConnectStats connects to Stats API using specified adapter and returns a connection handle.
SetControlPing sets the control ping message used by core.
SetControlPingReply sets the control ping reply message used by core.
SetLogger sets global logger to l.
SetLogLevel sets global logger level to lvl.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Connected represents state in which the connection has been successfully established.
No description provided by the author
No description provided by the author
default maximum number of reconnect attempts.
default interval between reconnect attempts.
Disconnected represents state in which the VPP socket is closed and the connection is considered dropped.
Failed represents state in which the reconnecting failed after exceeding maximum number of attempts.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TODO: network stats.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NotResponding represents a state where the VPP socket accepts messages but replies are received with delay, or not at all.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

default timeout for replies from VPP is disabled.
No description provided by the author
No description provided by the author
No description provided by the author
default health check probe interval.
default health check probe interval.
timeout for reply to a health check probe.
number of failed health checks until the error is reported.
default size of the notification channel buffer.
default size of the reply channel buffer.
No description provided by the author
default size of the request channel buffer.
No description provided by the author
No description provided by the author
duration of slow replies after which a warning is printed.

# Structs

Channel is the main communication interface with govpp core.
Connection represents a shared memory connection to VPP via vppAdapter.
ConnectionEvent is a notification about change in the VPP connection state.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

MessageCodec provides functionality for decoding binary data to generated API messages.
MessageIdentifier provides identification of generated API messages.

# Type aliases

ConnectionState represents the current state of the connection to VPP.