Documentation
¶
Index ¶
Constants ¶
View Source
const ( CRC32HashOffset int64 = 0 CRC32HashSize int64 = 4 SkipAheadOffset = CRC32HashOffset + CRC32HashSize SkipAheadSize int64 = 8 DataOffset = SkipAheadOffset + SkipAheadSize HeadSize = CRC32HashSize + SkipAheadSize MetaElementSize = 2 )
Variables ¶
View Source
var ConfigDefault = Config{
Workspace: "/tmp",
MaxHistory: 3,
}
ConfigDefault is the default config
View Source
var (
ErrInvalidFile = fmt.Errorf("file invalid")
)
Functions ¶
This section is empty.
Types ¶
type Safe ¶
type Safe interface { encoding.BinaryMarshaler encoding.BinaryUnmarshaler }
Click to show internal directories.
Click to hide internal directories.