Versions in this module Expand all Collapse all v0 v0.2.2 Nov 24, 2024 Changes in this version + type Client struct + Name string + NameOID value.OID + ReconnectInterval time.Duration + Timeout time.Duration + func Dial(network, address string) (*Client, error) + func (c *Client) Close() error + func (c *Client) Session() (*Session, error) + type Handler interface + Get func(value.OID) (value.OID, pdu.VariableType, interface{}, error) + GetNext func(value.OID, bool, value.OID) (value.OID, pdu.VariableType, interface{}, error) + type ListHandler struct + func (l *ListHandler) Add(oid string) *ListItem + func (l *ListHandler) Get(oid value.OID) (value.OID, pdu.VariableType, interface{}, error) + func (l *ListHandler) GetNext(from value.OID, includeFrom bool, to value.OID) (value.OID, pdu.VariableType, interface{}, error) + type ListItem struct + Type pdu.VariableType + Value interface{} + type Session struct + Handler Handler + func (s *Session) Close() error + func (s *Session) ID() uint32 + func (s *Session) Register(priority byte, baseOID value.OID) error + func (s *Session) Unregister(priority byte, baseOID value.OID) error