Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSSENotifier ¶
func NewSSENotifier() (transport *sse)
Types ¶
type Notifier ¶
type Notifier interface { Init(context.Context) Notify(RoundTripLog) }
Notifier interface must be implemented by a transport.
var DefaultNotifier Notifier = NewSSENotifier()
type RequestError ¶
type RequestLog ¶
type ResponseLog ¶
type RoundTripLog ¶
type RoundTripLog struct { ID string `json:"id"` RequestLog *RequestLog `json:"requestLog"` ResponseLog *ResponseLog `json:"responseLog"` Error *RequestError `json:"error"` Timeline *Timeline `json:"timeline"` Duration string `json:"duration"` DurationNano int64 `json:"durationNano"` Done bool `json:"done"` }
Click to show internal directories.
Click to hide internal directories.