Documentation ¶
Overview ¶
Package data provides an interface for logs
Package data provides an interface for logs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectMongo ¶
ConnectMongo connects to a mongodb instance
Types ¶
type LogItem ¶
type LogItem struct { ID string `bson:"_id,omitempty" json:"id,omitempty"` Name string `bson:"name" json:"name"` Data string `bson:"data" json:"data"` CreatedAt time.Time `bson:"created_at" json:"created_at"` UpdatedAt time.Time `bson:"updated_at" json:"updated_at"` }
LogItem describes a log object
Click to show internal directories.
Click to hide internal directories.