Documentation ¶
Index ¶
- type Provider
- func (p Provider) Batch(entries []*goukv.Entry) error
- func (p Provider) Close() error
- func (p Provider) Delete(k []byte) error
- func (p Provider) Get(k []byte) ([]byte, error)
- func (p Provider) Open(dsn *goukv.DSN) (goukv.Provider, error)
- func (p Provider) Put(e *goukv.Entry) error
- func (p Provider) Scan(opts goukv.ScanOpts) error
- func (p Provider) TTL(k []byte) (*time.Time, error)
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider represents a driver
type Value ¶
Value represents a value with expiration date
func BytesToValue ¶
BytesToValue Decodes the specified byte array to Value
func EntryToValue ¶
EntryToValue build a value from entry representation
Click to show internal directories.
Click to hide internal directories.