database

package
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MySQL      = "mysql"
	PostgreSQL = "postgres"
	SQLite     = "sqlite3"
)

Variables

This section is empty.

Functions

func GetDB

func GetDB() *sql.DB

func GetDetailedLog

func GetDetailedLog(connection, requestUID string) *sql.Row

func GetDetailedRequest

func GetDetailedRequest(connection, requestUID string) *sql.Row

func GetDetailedResponse

func GetDetailedResponse(connection, requestUID string) *sql.Row

func GetLogs

func GetLogs(connection string, offset int) *sql.Rows

func GetRequests

func GetRequests(connection string, offset int) *sql.Rows

func SearchLogs

func SearchLogs(connection, searchWildcard string, offset int) *sql.Rows

func SearchRequests

func SearchRequests(connection, searchWildcard string, offset int) *sql.Rows

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL