backend

package
v0.0.0-...-a192cd5 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	UUID              string `json:"uuid"`
	TimeStamp         int64  `json:"timestamp"`
	HumanReadableTime string `json:"humantime"`
	LogClass          string `json:"class"`
	Category          string `json:"category"`
	Body              string `json:"body"`
}

Log type

type LogStore

type LogStore interface {
	Put(data []*Log) error
	Del(uuid string) error
	Get(uuid string) (*Log, error)
}

LogStore : Log storage specification

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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