Documentation ¶
Index ¶
- Variables
- func GetDatabases(db *sql.DB) ([]model.Database, error)
- func GetJsonMetrics() ([]byte, error)
- func GetPromMetrics(res http.ResponseWriter, req *http.Request)
- func GetStatements(db *sql.DB) ([]model.Statement, error)
- func GetTablesInfo(db *sql.DB) ([]model.Table, error)
- func NewConnection() (nc *nats.Conn, err error)
- func Publish()
- func PublishEvent(nc *nats.Conn, subject string, data []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DBConnectionConfig string
)
Functions ¶
func GetJsonMetrics ¶
func GetPromMetrics ¶
func GetPromMetrics(res http.ResponseWriter, req *http.Request)
func NewConnection ¶
func NewConnection() (nc *nats.Conn, err error)
func PublishEvent ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.