journal

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2019 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

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 (this *Journal) DeleteEntries() error

func (Journal) GetEntries

func (this Journal) GetEntries(offset int, limit int, from *time.Time, to *time.Time, sort string) (v2.JournalView, error)

func (Journal) GetFilteredEntries

func (this Journal) GetFilteredEntries(journalEntryFilterView v2.JournalEntryFilterView) ([]v2.JournalEntryView, error)

func (*Journal) NewEntry

func (this *Journal) NewEntry(request *http.Request, response *http.Response, mode string, started time.Time) error

type JournalEntry

type JournalEntry struct {
	Request     *models.RequestDetails
	Response    *models.ResponseDetails
	Mode        string
	TimeStarted time.Time
	Latency     time.Duration
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL