Skip to content

sh3rp/wally

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wally

A write-ahead-log library written in Go.

Quick-start

To install, simple run go get -u github.com/sh3rp/wally.

Example:

wally := NewWally("/tmp/logdir","WallyTest")
w.Write([]byte("test data0"))
w.Write([]byte("test data1"))
w.Write([]byte("test data2"))

data, err := w.Next()
fmt.Println(string(data))
data, err = w.Peek(2)
fmt.Println(string(data))

About

Write-Ahead Log written in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages