Versions in this module Expand all Collapse all v1 v1.0.1 Jul 28, 2023 Changes in this version + const REGISTRY_CID + const REGISTRY_IAB + const REGISTRY_OUI + const REGISTRY_OUI28 + const REGISTRY_OUI36 + func DownloadCSV(registry *Registry) (fileName string, err error) + type Formats struct + Bytes string + Dashed string + Dotted string + Hex string + Int int64 + func Convert(i string) (fmts *Formats, err error) + type OUIDB struct + Connection *sql.DB + Directory string + FileName string + Version string + func New(version string) (ouidb *OUIDB, err error) + func (ouidb *OUIDB) Clear() (err error) + func (ouidb *OUIDB) Close() error + func (ouidb *OUIDB) Count() (count int64, err error) + func (ouidb *OUIDB) Find(search string) (matches []*VendorDef, err error) + func (ouidb *OUIDB) Insert(d *VendorDef) (res sql.Result, err error) + func (ouidb *OUIDB) Populate(p *progress.Progress) (records int64, err error) + type Registry struct + BaseURL string + FileExtension string + FilePrefix string + Name string + func Registries() []*Registry + func (reg *Registry) FileName() string + func (reg *Registry) TempFilePattern() string + func (reg *Registry) URL() *url.URL + type VendorDef struct + Length int + Org string + Prefix string + Registry string + func CollectAll(p *progress.Progress, logger *logger.Logger) (results []*VendorDef) + func ReadCSV(registry *Registry, fileName string, logger *logger.Logger) (results []*VendorDef) + func (v *VendorDef) PrefixString() string Other modules containing this package github.com/thatmattlove/oui/v2