Documentation ¶
Index ¶
Constants ¶
View Source
const NoLimit = math.MaxUint
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SQLiteHandler ¶
func NewSQLiteHandler ¶
func NewSQLiteHandler( ctx context.Context, db *sql.DB, opt *SQLiteHandlerOption, ) (SQLiteHandler, error)
type SQLiteHandlerOption ¶
type SQLiteHandlerOption struct { EventBulkInsertNum int EventBulkInsertDur time.Duration MaxLimit uint Logger *slog.Logger }
func NewDefaultSQLiteHandlerOption ¶
func NewDefaultSQLiteHandlerOption() *SQLiteHandlerOption
Click to show internal directories.
Click to hide internal directories.