Documentation
¶
Index ¶
Constants ¶
View Source
const TableNameChat = "Chats"
View Source
const TableNamePlugin = "Plugins"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chat ¶
type Chat struct { ChatID int32 `gorm:"column:chat_id;primaryKey;autoIncrement:true;comment:Unique identifier for the chat" json:"chat_id"` ConversationID string `` /* 133-byte string literal not displayed */ PluginNames string `gorm:"column:plugin_names;not null;comment:Array of plugin names used in the chat" json:"plugin_names"` ChatContent string `gorm:"column:chat_content;comment:Content of the chat message" json:"chat_content"` ChatModel string `gorm:"column:chat_model;comment:Model for the chat message" json:"chat_model"` UserID int32 `gorm:"column:user_id;not null;comment:Unique identifier for the user who sent the chat message" json:"user_id"` IsDeleted bool `gorm:"column:is_deleted;not null;comment:Flag indicating if the chat message has been deleted" json:"is_deleted"` CreatedAt time.Time `` /* 133-byte string literal not displayed */ UpdatedAt time.Time `` /* 138-byte string literal not displayed */ }
Chat mapped from table <Chats>
type Plugin ¶
type Plugin struct { PluginID int32 `gorm:"column:plugin_id;primaryKey;autoIncrement:true;comment:Unique identifier for the plugin" json:"plugin_id"` PluginName string `gorm:"column:plugin_name;not null;comment:Name of the plugin" json:"plugin_name"` PluginConfigURL string `gorm:"column:plugin_config_url;comment:URL for the plugin configuration" json:"plugin_config_url"` PluginOpenapiURL string `gorm:"column:plugin_openapi_url;comment:URL for the plugin OpenAPI documentation" json:"plugin_openapi_url"` PluginConfig string `gorm:"column:plugin_config;comment:Configuration for the plugin" json:"plugin_config"` PluginOpenapi string `gorm:"column:plugin_openapi;comment:OpenAPI documentation for the plugin" json:"plugin_openapi"` IsDeleted bool `gorm:"column:is_deleted;not null;comment:Flag indicating if the plugin has been deleted" json:"is_deleted"` CreatedAt time.Time `` /* 127-byte string literal not displayed */ UpdatedAt time.Time `` /* 132-byte string literal not displayed */ }
Plugin mapped from table <Plugins>
Click to show internal directories.
Click to hide internal directories.