Documentation ¶
Overview ¶
Depends on godynamo. Please refer to that package for how to configure * this package. * * The dynamo table we use has the following structure: * Primary Hash key: hostname * No range key * No secondary indexes. * columns: * Mtime - last access time * Status - status return value * Data - memory dump string * Error - error string value *
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CACHE_TAB = "Heartbleed"
Functions ¶
Types ¶
type CacheReply ¶
func Check ¶
func Check(host string) (CacheReply, bool)
Fetch the record from the Cache. * * returns the record and if the record should be considered "OK" to use. * An OK record is a valid, non-expired cache stored entry.
Click to show internal directories.
Click to hide internal directories.