adbc

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadAndExtract

func DownloadAndExtract(url string, destDir string) (string, error)

Types

type Driver

type Driver struct {
	Name string
}

type Manager

type Manager struct {
	CacheDir string
	Resolver *Resolver
}

func NewManager

func NewManager() (*Manager, error)

func (*Manager) EnsureDriver

func (m *Manager) EnsureDriver(name string, version string) (string, error)

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 {
	BaseURL *url.URL
}

func DefaultResolver

func DefaultResolver() *Resolver

func (*Resolver) Resolve

func (r *Resolver) Resolve(d Driver, version string, p Platform) (*url.URL, error)

Jump to

Keyboard shortcuts

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