GoLang rrd_last

request it (142)
GoLang replacement for PHP's rrd_last [edit | history]



Do you know a GoLang replacement for PHP's rrd_last? Write it!

PHP rrd_last

PHP original manual for rrd_last [ show | php.net ]

rrd_last

(PECL rrd >= 0.9.0)

rrd_lastGets unix timestamp of the last sample

Description

int rrd_last ( string $filename )

Returns the UNIX timestamp of the most recent update of the RRD database.

Parameters

filename

RRD database file name.

Return Values

Integer as unix timestamp of the most recent data from the RRD database.