createdat

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Unlicense 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 B

type B = []byte

type Ctx

type Ctx = context.T

type E

type E = error

type N

type N = int

type S

type S = string

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