memory

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Memory

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

func Open

func Open(_ string) *Memory

func (*Memory) FetchByUUID

func (mem *Memory) FetchByUUID(uuid string) (*schema.TelemetryData, error)

func (*Memory) FetchLast100

func (mem *Memory) FetchLast100() ([]schema.TelemetryData, error)

func (*Memory) Insert

func (mem *Memory) Insert(data *schema.TelemetryData) error

Jump to

Keyboard shortcuts

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