model

package
v0.0.0-...-2cf4cf7 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 2 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 {
	ID        core.InstanceID `json:"_id"`
	Timestamp time.Time       `json:"timestamp"` // Creation Time
	Type      string          `json:"type"`      // Log Type - INFO, WARN, ERROR
	Data      string          `json:"data"`      // Log Data
	Hash      string          `json:"hash"`      // SHA256 Hash of Log’s Data
}

Log Struct to define a schema for the Logs Generated

Jump to

Keyboard shortcuts

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