utils

package
v0.0.0-...-c31191e Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHealth

func GetHealth(url string) float64

GetHealth returns that druid is healthy or not

func GetResponse

func GetResponse(url string, queryType string) ([]byte, error)

GetResponse will return API response for druid

func GetSQLResponse

func GetSQLResponse(url string, query string) ([]byte, error)

GetSQLResponse will return API response for a druid query

func ReverseDNSLookup

func ReverseDNSLookup(host string, dnsCache *cache.Cache) string

ReverseDNSLookup returns hostname if no results are found

Types

This section is empty.

Jump to

Keyboard shortcuts

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