Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogRequest ¶
func LogRequest(p InputRequest)
Types ¶
type InputRequest ¶
type InputRequest struct { Message *string `json:"message,omitempty"` Additional []interface{} `json:"additional,omitempty"` Level *string `json:"level,omitempty"` Timestamp *string `json:"timestamp,omitempty"` FileName *string `json:"fileName,omitempty"` LineNumber *string `json:"lineNumber,omitempty"` }
func UnmarshalInputRequest ¶
func UnmarshalInputRequest(data []byte) (InputRequest, error)
func (*InputRequest) Marshal ¶
func (r *InputRequest) Marshal() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.