registry

package
v0.0.0-...-e702a9a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2025 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVendor

func GetVendor(v Vendor) (interface{}, error)

GetVendor returns the vendor implementation

func RegisterVendor

func RegisterVendor(v Vendor, implementation interface{})

RegisterVendor registers a vendor plugin

Types

type Vendor

type Vendor string

Vendor is the type for the vendor name. It is used to identify the vendor and to load the correct driver.

func (Vendor) Valid

func (v Vendor) Valid() bool

Valid checks if this lib supports the given vendor.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL