Documentation
¶
Index ¶
Constants ¶
View Source
const ( GetOp opCode = 0 SetOp opCode = 1 DelOp opCode = 2 )
Variables ¶
View Source
var ( ErrConnNotOpened = errors.New("unable to open connection to the database") ErrKeyNotFound = errors.New("key not found") ErrStopped = errors.New("server has been stopped") )
View Source
var (
ErrTypeNotSupported = errors.New("type not supported")
)
Functions ¶
func ConvertFromValue ¶
Types ¶
type KvValue ¶
func ConvertToValue ¶
type SqliteStorage ¶
type SqliteStorage struct {
// contains filtered or unexported fields
}
func NewKvStore ¶
func NewKvStore(fileName string) (*SqliteStorage, error)
func (*SqliteStorage) Close ¶
func (s *SqliteStorage) Close() error
Click to show internal directories.
Click to hide internal directories.