ldb

package
v0.0.0-...-0cb0207 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helper

type Helper struct {
	Path string
	// contains filtered or unexported fields
}

Helper ... asd

func NewHelper

func NewHelper(path string) *Helper

NewHelper ... creates new login manager

func (*Helper) Close

func (helper *Helper) Close()

CLose ... close the db

func (*Helper) Delete

func (helper *Helper) Delete(key string) error

Delete ... deletes a value

func (*Helper) Get

func (helper *Helper) Get(key string) ([]byte, error)

Get ... gets the value

func (*Helper) Put

func (helper *Helper) Put(key string, value []byte) error

Put ... puts a value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL