Documentation ¶
Index ¶
- Constants
- func DumpLog(message string)
- func DumpRequestResponse(c *gin.Context, responsePayload types.DumpResponsePayload, body string)
- func FetchDetailedLog(requestUID string) types.ExceptionRecord
- func FetchDetailedRequest(requestUID string) types.DetailedRequest
- func FetchDetailedResponse(responseUUID string) types.DetailedResponse
- func FetchLogs(offset int) []types.ExceptionRecord
- func FetchRequestList(offset int) []types.SummarizedRequest
- func FetchSearchLogs(searchString string, offset int) []types.ExceptionRecord
- func FetchSearchRequests(search string, filter *types.RequestFilter, offset int) []types.SummarizedRequest
- func QueryDetailedLog(db *sql.DB, requestUID string) *sql.Row
- func QueryDetailedRequest(db *sql.DB, requestUID string) *sql.Row
- func QueryDetailedResponse(db *sql.DB, requestUID string) *sql.Row
- func QueryGetLogs(db *sql.DB, connection string, offset int) (*sql.Rows, error)
- func QueryGetRequests(db *sql.DB, offset int) (*sql.Rows, error)
- func QuerySearchLogs(db *sql.DB, connection, searchWildcard string, offset int) (*sql.Rows, error)
- func QuerySearchRequests(db *sql.DB, connection, search string, filter *types.RequestFilter, offset int) (*sql.Rows, error)
Constants ¶
View Source
const ( MySQL = "mysql" PostgreSQL = "postgres" SQLite = "sqlite3" )
Variables ¶
This section is empty.
Functions ¶
func DumpRequestResponse ¶
func DumpRequestResponse(c *gin.Context, responsePayload types.DumpResponsePayload, body string)
func FetchDetailedLog ¶
func FetchDetailedLog(requestUID string) types.ExceptionRecord
func FetchDetailedRequest ¶
func FetchDetailedRequest(requestUID string) types.DetailedRequest
FetchDetailedRequest fetches all details from a request via its UUID.
func FetchDetailedResponse ¶
func FetchDetailedResponse(responseUUID string) types.DetailedResponse
FetchDetailedResponse fetches all details of a response via its UUID.
func FetchLogs ¶
func FetchLogs(offset int) []types.ExceptionRecord
Get a summarized list of application logs from the DB.
func FetchRequestList ¶
func FetchRequestList(offset int) []types.SummarizedRequest
FetchRequestList fetches a list of summarized requests.
func FetchSearchLogs ¶
func FetchSearchLogs(searchString string, offset int) []types.ExceptionRecord
func FetchSearchRequests ¶
func FetchSearchRequests(search string, filter *types.RequestFilter, offset int) []types.SummarizedRequest
FetchSearchRequests fetches a list of summarized requests that match the input parameters of search.
func QuerySearchLogs ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.