Documentation ¶
Index ¶
- Constants
- type Index
- type Journal
- func (this *Journal) AddIndex(indexKey string) error
- func (this *Journal) DeleteEntries() error
- func (this *Journal) DeleteIndex(indexKey string)
- func (this *Journal) GetAllIndexes() []v2.JournalIndexView
- 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) (string, error)
- func (journal *Journal) UpdatePostServeActionDetailsInJournal(id string, actionName, correlationID string, ...)
- type JournalEntry
- type PostServeActionEntry
- type Request
Constants ¶
View Source
const RFC3339Milli = "2006-01-02T15:04:05.000Z07:00"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶ added in v1.8.0
type Index struct { Name string Entries map[string]*JournalEntry // contains filtered or unexported fields }
func (Index) AddJournalEntry ¶ added in v1.8.0
func (index Index) AddJournalEntry(entry *JournalEntry)
type Journal ¶
func NewJournal ¶
func NewJournal() *Journal
func (*Journal) DeleteEntries ¶
func (*Journal) DeleteIndex ¶ added in v1.8.0
func (*Journal) GetAllIndexes ¶ added in v1.8.0
func (this *Journal) GetAllIndexes() []v2.JournalIndexView
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 Id string PostServeActionEntry *PostServeActionEntry }
type PostServeActionEntry ¶ added in v1.9.0
Click to show internal directories.
Click to hide internal directories.