Versions in this module Expand all Collapse all v1 v1.3.3 Jan 29, 2021 Changes in this version + type Config struct + Addr string + Community string + Retries uint + type Data struct + Oid string + Type string + Value string + type Options struct + DataList []Data + TrapOid string + type Service struct + func NewService(c Config) *Service + func (s *Service) Close() error + func (s *Service) Open() error + func (s *Service) Trap(trapOid string, dataList []Data) error