Documentation
¶
Index ¶
- Constants
- type Journal
- func (this *Journal) DeleteEntries() error
- func (this *Journal) GetEntries(offset int, limit int, from *time.Time, to *time.Time, sort string) (v2.JournalView, error)
- func (this *Journal) GetFilteredEntries(journalEntryFilterView v2.JournalEntryFilterView) ([]v2.JournalEntryView, error)
- func (this *Journal) NewEntry(request *http.Request, response *http.Response, mode string, started time.Time) error
- type JournalEntry
Constants ¶
View Source
const RFC3339Milli = "2006-01-02T15:04:05.000Z07:00"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Journal ¶
type Journal struct {
EntryLimit int
// contains filtered or unexported fields
}
func NewJournal ¶
func NewJournal() *Journal
func (*Journal) DeleteEntries ¶
func (*Journal) GetEntries ¶
func (*Journal) GetFilteredEntries ¶
func (this *Journal) GetFilteredEntries(journalEntryFilterView v2.JournalEntryFilterView) ([]v2.JournalEntryView, error)
type JournalEntry ¶
type JournalEntry struct {
Request *models.RequestDetails
Response *models.ResponseDetails
Mode string
TimeStarted time.Time
Latency time.Duration
}
Click to show internal directories.
Click to hide internal directories.