Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDiskStorage ¶
NewDiskStorage creates the storage folder, verifies that it is writable and retains at most limit traces. A limit of zero or less is unbounded. With no path it uses a folder in the operating system temporary directory. The ring holds what the returned storage records.
func NewMemoryStorage ¶
func NewMemoryStorage(size int) *memoryStorage
NewMemoryStorage returns in-memory storage retaining size traces. A size of zero or less retains nothing, leaving the live view and the counters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.