Versions in this module Expand all Collapse all v0 v0.8.0 Dec 28, 2023 Changes in this version + const DefaultClientName + const DefaultSocketName + var DefaultConnectTimeout = time.Second * 3 + var DefaultDisconnectTimeout = time.Millisecond * 100 + var MaxWaitReady = time.Second * 3 + func SetLogger(logger logrus.FieldLogger) + type Client struct + func NewVppClient(socket string) *Client + func (c *Client) Connect() error + func (c *Client) Disconnect() error + func (c *Client) GetMsgID(msgName string, msgCrc string) (uint16, error) + func (c *Client) SendMsg(context uint32, data []byte) error + func (c *Client) SetClientName(name string) + func (c *Client) SetConnectTimeout(t time.Duration) + func (c *Client) SetDisconnectTimeout(t time.Duration) + func (c *Client) SetMsgCallback(cb adapter.MsgCallback) + func (c *Client) WaitReady() error