adbc

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	Name string
}

type InstalledDriver added in v0.19.0

type InstalledDriver struct {
	Name    string
	Version string
	LibPath string
}

type Manager

type Manager struct {
	CacheDir string
	Resolver *Resolver
}

func NewManager

func NewManager() (*Manager, error)

func (*Manager) EnsureRequiredDrivers added in v0.19.0

func (m *Manager) EnsureRequiredDrivers() (map[string]InstalledDriver, error)

type MissingDriversError added in v0.19.0

type MissingDriversError struct {
	Missing []string
}

func (MissingDriversError) Error added in v0.19.0

func (e MissingDriversError) Error() string

type Platform

type Platform struct {
	OS   string
	Arch string
}

func CurrentPlatform

func CurrentPlatform() Platform

func (Platform) Tuple

func (p Platform) Tuple() string

type Resolver

type Resolver struct{}

func DefaultResolver

func DefaultResolver() *Resolver

func (*Resolver) DiscoverInstalled added in v0.19.0

func (r *Resolver) DiscoverInstalled(cacheDir string, p Platform) ([]InstalledDriver, error)

Jump to

Keyboard shortcuts

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