localdb

package
v0.0.0-...-0d81173 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChatLog

func GetChatLog(userId string, limit int32) []*chatgptpb.ChatGptMessage

func GetChatScene

func GetChatScene(userId string) *chatgptpb.ChatGptMessage

func GetDeviceId

func GetDeviceId() string

func InsertChatLogs

func InsertChatLogs(userId string, chatLogs []*chatgptpb.ChatGptMessage)

func SetChatScene

func SetChatScene(userId string, message *chatgptpb.ChatGptMessage)

Types

type Sqlite3

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

func InitSqlite3

func InitSqlite3(dbpath string) *Sqlite3

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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