package
0.0.0-20210310205550-8f072b4f2c90
Repository: https://github.com/ghostdb/ghostdb-cache-node.git
Documentation: pkg.go.dev

# Functions

AddHit is a setter that increments its corresponding struct field every time a endpoint is hit it also increments a total value.
CacheMiss is a setter that increments its corresponding struct field by one.
DeleteHit is a setter that increments its corresponding struct field every time a endpoint is hit it also increments a total value.
Dump writes the contents of the appMetrics struct to the appMetrics log file.
ErrFlush is a setter that increments its corresponding struct field by one.
Flushed is a setter that increments its corresponding struct field by one.
FlushHit is a setter that increments its corresponding struct field every time a endpoint is hit it also increments a total value.
GetAppMetrics reads the AppMetrics log unmarshals each entry and appends it to a slice.
GetHit is a setter that increments its corresponding struct field every time a endpoint is hit it also increments a total value.
Boot instantiates a appMetrics log struct and its corresponding log file.
NotFound is a setter that increments its corresponding struct field by one.
NotStored is a setter that increments its corresponding struct field by one.
PutHit is a setter that increments its corresponding struct field every time a endpoint is hit it also increments a total value.
Removed is a setter that increments its corresponding struct field by one.
Stored is a setter that increments its corresponding struct field by one.
No description provided by the author

# Constants

AppMetricsLogFilePath Log file path.
AppMetricsLogFilePath Log file path.
AppMetricsLogFilePath Log file path.

# Structs

AppMetrics struct is used to record cache events.
ReadAppMetrics struct is used to Unmarshal log entries.