sqlite

package
v0.1.26 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentRepository

type AgentRepository = agentrepo.SQLRepository

AgentRepository 提供 SQLite 的 Agent 仓储实现。

func NewAgentRepository

func NewAgentRepository(db *sql.DB) *AgentRepository

NewAgentRepository 创建 Agent 仓储。

type Repository

type Repository struct {
	DB *sql.DB
}

Repository 提供 SQLite 仓储骨架。

func New

func New(db *sql.DB) *Repository

New 创建 SQLite 仓储。

type RoomRepository

type RoomRepository = roomrepo.SQLRepository

RoomRepository 提供 SQLite 的 Room 仓储实现。

func NewRoomRepository

func NewRoomRepository(db *sql.DB) *RoomRepository

NewRoomRepository 创建 Room 仓储。

type SessionRepository

type SessionRepository = sessionrepo.SQLRepository

SessionRepository 提供 SQLite 的 Room Session 视图查询。

func NewSessionRepository

func NewSessionRepository(db *sql.DB) *SessionRepository

NewSessionRepository 创建 SessionRepository。

Jump to

Keyboard shortcuts

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