Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logs ¶
type Logs struct {
// contains filtered or unexported fields
}
Logs is responsible for interactions with logs.
func New ¶
func New(pmmVersion string, consul *consul.Client, db *reform.DB, rds *rds.Service, logs []Log) *Logs
New creates a new Logs service. n is a number of last lines of log to read.
Click to show internal directories.
Click to hide internal directories.