Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// DocsBufferSize is the buffer size to store documents from the MongoDB profiler
DocsBufferSize = 100
)
Functions ¶
This section is empty.
Types ¶
type Profile ¶
type Profile struct {
// contains filtered or unexported fields
}
Profile has unexported variables for the profiler
func (*Profile) FlushQueries ¶
func (p *Profile) FlushQueries()
FlushQueries clean all the queries from the queries chan
func (*Profile) GetLastError ¶
GetLastError return the latest error
func (*Profile) QueriesChan ¶
QueriesChan returns the channels used to read the queries from the profiler
func (*Profile) TimeoutsChan ¶
TimeoutsChan returns the channels to receive timeout signals
Click to show internal directories.
Click to hide internal directories.