Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRequestCompletedLogListener ¶
func NewRequestCompletedLogListener( appProps *config.AppProperties, httpRequestProps *properties.HttpRequestLogProperties, ) pubsub.Subscriber
Types ¶
type HttpRequestLog ¶
type HttpRequestLog struct { webLog.ContextAttributes Url string `json:"url"` Status int `json:"status"` ExecutionTime int64 `json:"execution_time"` RequestPattern string `json:"request_pattern,omitempty"` RequestPath string `json:"request_path"` Method string `json:"request_method"` Query string `json:"query,omitempty"` RequestId string `json:"request_id,omitempty"` CallerId string `json:"caller_id,omitempty"` ClientIp string `json:"client_ip,omitempty"` UserAgent string `json:"user_agent,omitempty"` }
func (HttpRequestLog) MarshalLogObject ¶
func (h HttpRequestLog) MarshalLogObject(encoder field.ObjectEncoder) error
type RequestCompletedLogListener ¶
type RequestCompletedLogListener struct {
// contains filtered or unexported fields
}
func (RequestCompletedLogListener) Handle ¶
func (r RequestCompletedLogListener) Handle(e pubsub.Event)
Click to show internal directories.
Click to hide internal directories.