Documentation
¶
Index ¶
- Variables
- 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 ¶
This section is empty.
Variables ¶
View Source
var RFC3339Milli = "2006-01-02T15:04:05.000Z07:00"
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.