createdat

package
v1.2.10 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: GPL-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Len = 8

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T struct {
	Val timestamp.T
}

func FromKey

func FromKey(k []byte) (p *T)

FromKey expects to find a datestamp in the 8 bytes before a serial in a key.

func New

func New(c timestamp.T) (p *T)

func (*T) Len

func (c *T) Len() int

func (*T) Read

func (c *T) Read(buf *bytes.Buffer) (el keys.Element)

func (*T) Write

func (c *T) Write(buf *bytes.Buffer)

Jump to

Keyboard shortcuts

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