Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProjectStreamHandler ¶
Types ¶
type Event ¶
type Event struct {
ID int64 `json:"id"`
Timestamp time.Time `json:"timestamp"`
ProjectID string `json:"project_id,omitempty"`
Method string `json:"method"`
ToolName string `json:"tool_name,omitempty"`
Status string `json:"status"`
DurationMS int64 `json:"duration_ms"`
Error string `json:"error,omitempty"`
RequestID string `json:"request_id,omitempty"`
RemoteAddr string `json:"remote_addr,omitempty"`
UserAgent string `json:"user_agent,omitempty"`
RawRequest json.RawMessage `json:"raw_request,omitempty"`
RawParams json.RawMessage `json:"raw_params,omitempty"`
RawArgs json.RawMessage `json:"raw_arguments,omitempty"`
RawResult json.RawMessage `json:"raw_result,omitempty"`
}
type Recorder ¶
type Recorder struct {
// contains filtered or unexported fields
}
func NewRecorder ¶
Click to show internal directories.
Click to hide internal directories.