Documentation ¶
Overview ¶
Package conn @author: Violet-Eva @date : 2024/12/19 @notes :
Index ¶
Constants ¶
View Source
const ( DefaultKrbConfPath = "/etc/krb5.conf" DefaultKinitProgram = "/usr/bin/kinit" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HiveConn ¶
type HiveConn struct { KA *KrbAuth HCI *HiveConnInformation Conn *gohive.Connection RetryCount int RetryInterval time.Duration QueryTimeout int }
func NewHiveConn ¶
func (*HiveConn) ExecQueryNoResult ¶
func (*HiveConn) ExecQueryToStruct ¶
ExecQueryToStruct @Description: @param query @param data pointer @return []map[string]interface{} @return error
func (*HiveConn) GetHiveConn ¶
type HiveConnInformation ¶
Click to show internal directories.
Click to hide internal directories.