libsql

package
v0.0.0-...-85af5b9 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 9 Imported by: 108

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains[S ~[]E, E comparable](s S, v E) bool

func Index

func Index[S ~[]E, E comparable](s S, v E) int

func NewConnector

func NewConnector(dbPath string, opts ...Option) (driver.Connector, error)

Types

type Driver

type Driver struct{}

func (Driver) Open

func (d Driver) Open(dbUrl string) (driver.Conn, error)

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithAuthToken

func WithAuthToken(authToken string) Option

func WithProxy

func WithProxy(proxy string) Option

func WithSchemaDb

func WithSchemaDb(schemaDb bool) Option

func WithTls

func WithTls(tls bool) Option

Directories

Path Synopsis
internal
ws

Jump to

Keyboard shortcuts

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