Documentation
¶
Index ¶
- type ThreadGdbmDb
- func (tdb *ThreadGdbmDb) Close() error
- func (tdb *ThreadGdbmDb) Connect(ctx context.Context, connStr string) error
- func (tdb *ThreadGdbmDb) Dump(ctx context.Context, key []byte) (*db.Dumper, error)
- func (tdb *ThreadGdbmDb) Get(ctx context.Context, key []byte) ([]byte, error)
- func (tdb *ThreadGdbmDb) Prefix() uint8
- func (tdb *ThreadGdbmDb) Put(ctx context.Context, key []byte, val []byte) error
- func (tdb *ThreadGdbmDb) Safe() bool
- func (tdb *ThreadGdbmDb) SetLanguage(lng *lang.Language)
- func (tdb *ThreadGdbmDb) SetLock(typ uint8, locked bool) error
- func (tdb *ThreadGdbmDb) SetPrefix(pfx uint8)
- func (tdb *ThreadGdbmDb) SetSession(sessionId string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ThreadGdbmDb ¶
type ThreadGdbmDb struct {
// contains filtered or unexported fields
}
func NewThreadGdbmDb ¶
func NewThreadGdbmDb() *ThreadGdbmDb
func (*ThreadGdbmDb) Close ¶
func (tdb *ThreadGdbmDb) Close() error
func (*ThreadGdbmDb) Connect ¶
func (tdb *ThreadGdbmDb) Connect(ctx context.Context, connStr string) error
func (*ThreadGdbmDb) Prefix ¶
func (tdb *ThreadGdbmDb) Prefix() uint8
func (*ThreadGdbmDb) Safe ¶
func (tdb *ThreadGdbmDb) Safe() bool
func (*ThreadGdbmDb) SetLanguage ¶
func (tdb *ThreadGdbmDb) SetLanguage(lng *lang.Language)
func (*ThreadGdbmDb) SetPrefix ¶
func (tdb *ThreadGdbmDb) SetPrefix(pfx uint8)
func (*ThreadGdbmDb) SetSession ¶
func (tdb *ThreadGdbmDb) SetSession(sessionId string)
Click to show internal directories.
Click to hide internal directories.