Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLiteFS ¶
type SQLiteFS struct {
// contains filtered or unexported fields
}
func NewSQLiteFS ¶
NewSQLiteFS создает новый экземпляр SQLiteFS с заданной базой данных. Проверяет наличие необходимых таблиц и создает их при отсутствии.
func (*SQLiteFS) NewWriter ¶ added in v0.3.1
func (fs *SQLiteFS) NewWriter(path string) *SQLiteWriter
NewWriter creates a new writer for the specified path.
type SQLiteFile ¶
type SQLiteFile struct {
// contains filtered or unexported fields
}
SQLiteFile реализует интерфейс http.File.
func NewSQLiteFile ¶
func NewSQLiteFile(db *sql.DB, path string) (*SQLiteFile, error)
NewSQLiteFile создает новый экземпляр SQLiteFile для заданного пути.
func (*SQLiteFile) Close ¶
func (f *SQLiteFile) Close() error
type SQLiteWriter ¶
type SQLiteWriter struct {
// contains filtered or unexported fields
}
func NewSQLiteWriter ¶
func NewSQLiteWriter(fs *SQLiteFS, path string) *SQLiteWriter
NewSQLiteWriter creates a new SQLiteWriter for the specified path. Deprecated: Use SQLiteFS.NewWriter instead.
func (*SQLiteWriter) Close ¶
func (w *SQLiteWriter) Close() error
Click to show internal directories.
Click to hide internal directories.