storage

package
v0.0.0-...-72e0805 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BUCKET = []byte("stage1st")

Functions

This section is empty.

Types

type Storage

type Storage struct {
	// contains filtered or unexported fields
}

func Open

func Open(filename string) (Storage, error)

func (*Storage) Close

func (s *Storage) Close()

func (*Storage) Get

func (s *Storage) Get(threadId int) (thread *stage1stpb.Thread, err error)

func (*Storage) Put

func (s *Storage) Put(thread *stage1stpb.Thread) (err error)

Jump to

Keyboard shortcuts

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