Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoRepo ¶
MongoRepo implementation
func CreateMongoClient ¶
CreateMongoClient - MongoRepo factory
func (*MongoRepo) AddRecord ¶
func (r *MongoRepo) AddRecord(result *types.FuncResult) error
AddRecord does what it says
func (*MongoRepo) GetRecords ¶
GetRecords fetches last N records by name
type Results ¶
type Results interface { AddRecord(result *types.FuncResult) error GetRecords(name string, count int64) ([]*types.FuncResult, error) }
Results repository
Click to show internal directories.
Click to hide internal directories.