package
1.0.8
Repository: https://github.com/justkeepsilence/gdb.git
Documentation: pkg.go.dev

# Functions

DefaultOptions returns default options of gdb DriverName: sqlite3 Dsn: file:itemDB.db?_auth_user=seu&_auth_pass=admin@123&_auth_crypt=SHA1@_vacuum=1 UseInnerStop: true RtGdb: &FastCacheRt{RealTimePath: "./realTimeDb"}.
NewGdb used to create new instance of gdb dbPath: path of history data, if folder of path not exist, we will create this path dsn: dsn string to connect itemDb of gdb, at present we support sqlite3 and mysql.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FastCacheRt gdb uses fast cache internally to implement realTimeDatabase interface.
Gdb define the struct of gdb, you should use NewGdb to get new instance of gdb.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RedisRt implementation of using redis as a realTimeDatabase of gdb.
ResponseData common.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

RtGdb realTime database interface, you can implement this interface to define your own way to store realTimeData we provide to ways to store realTimeData, that is fastCache and redis.
StopGdb defines the way to stop gdb.