extension

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Age

type Age struct {
}

func (*Age) Apply

func (m *Age) Apply(ctx *sqlite.Context, values ...sqlite.Value)

func (*Age) Args

func (m *Age) Args() int

func (*Age) Deterministic

func (m *Age) Deterministic() bool

type CacheModule

type CacheModule struct {
}

func (*CacheModule) Connect

func (m *CacheModule) Connect(conn *sqlite.Conn, args []string, declare func(string) error) (sqlite.VirtualTable, error)

type Expired

type Expired struct {
	// contains filtered or unexported fields
}

func (*Expired) Apply

func (m *Expired) Apply(ctx *sqlite.Context, values ...sqlite.Value)

func (*Expired) Args

func (m *Expired) Args() int

func (*Expired) Deterministic

func (m *Expired) Deterministic() bool

type FreshnessLifetime

type FreshnessLifetime struct {
	// contains filtered or unexported fields
}

func (*FreshnessLifetime) Apply

func (m *FreshnessLifetime) Apply(ctx *sqlite.Context, values ...sqlite.Value)

func (*FreshnessLifetime) Args

func (m *FreshnessLifetime) Args() int

func (*FreshnessLifetime) Deterministic

func (m *FreshnessLifetime) Deterministic() bool

type Info

type Info struct {
}

func (*Info) Apply

func (m *Info) Apply(ctx *sqlite.Context, values ...sqlite.Value)

func (*Info) Args

func (m *Info) Args() int

func (*Info) Deterministic

func (m *Info) Deterministic() bool

type RequestVirtualTable

type RequestVirtualTable struct {
	// contains filtered or unexported fields
}

func NewRequestVirtualTable

func NewRequestVirtualTable(virtualTableName string, client *http.Client, statusCodes []int, responseTableName string, conn *sqlite.Conn) (*RequestVirtualTable, error)

func (*RequestVirtualTable) BestIndex

func (*RequestVirtualTable) Delete

func (vt *RequestVirtualTable) Delete(_ sqlite.Value) error

func (*RequestVirtualTable) Destroy

func (vt *RequestVirtualTable) Destroy() error

func (*RequestVirtualTable) Disconnect

func (vt *RequestVirtualTable) Disconnect() error

func (*RequestVirtualTable) Insert

func (vt *RequestVirtualTable) Insert(values ...sqlite.Value) (int64, error)

func (*RequestVirtualTable) Open

func (*RequestVirtualTable) Replace

func (vt *RequestVirtualTable) Replace(old sqlite.Value, new sqlite.Value, _ ...sqlite.Value) error

func (*RequestVirtualTable) Update

func (vt *RequestVirtualTable) Update(_ sqlite.Value, _ ...sqlite.Value) error

Jump to

Keyboard shortcuts

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