Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface {
Infof(format string, args ...interface{})
Debugf(format string, args ...interface{})
Errorf(format string, args ...interface{})
}
Logger is an interface that library users can use It is based on logrus, but much smaller — That's because we don't want library users to have to implement
all of the logrus's methods
type ProfileSession ¶
type ProfileSession struct {
Logger Logger
// contains filtered or unexported fields
}
func NewSession ¶
func (*ProfileSession) Start ¶
func (ps *ProfileSession) Start() error
func (*ProfileSession) Stop ¶
func (ps *ProfileSession) Stop()
Directories
¶
| Path | Synopsis |
|---|---|
|
Package csock implements a control socket with a simple human-readable API
|
Package csock implements a control socket with a simple human-readable API |
|
Package profiler is a public API golang apps should use to send data to pyroscope server.
|
Package profiler is a public API golang apps should use to send data to pyroscope server. |
|
Package spy contains an interface (Spy) and functionality to register new spies
|
Package spy contains an interface (Spy) and functionality to register new spies |
Click to show internal directories.
Click to hide internal directories.