Documentation ¶
Index ¶
- Constants
- func HandleFirehoseLog(w http.ResponseWriter, r *http.Request)
- func HandleJSONLog(w http.ResponseWriter, r *http.Request)
- func HandlePinoLogs(w http.ResponseWriter, r *http.Request, lgJson []byte, logs *hlog.PinoLogs)
- func HandleRawLog(w http.ResponseWriter, r *http.Request)
- func Listen(r *chi.Mux, t trace.Tracer)
Constants ¶
View Source
const ( LogDrainProjectQueryParam = "project" LogDrainServiceQueryParam = "service" LogDrainProjectHeader = "x-highlight-project" LogDrainServiceHeader = "x-highlight-service" )
Variables ¶
This section is empty.
Functions ¶
func HandleFirehoseLog ¶
func HandleFirehoseLog(w http.ResponseWriter, r *http.Request)
func HandleJSONLog ¶
func HandleJSONLog(w http.ResponseWriter, r *http.Request)
func HandlePinoLogs ¶
func HandleRawLog ¶
func HandleRawLog(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.