db

package
v0.0.0-...-667b3ce Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Execute(string, ...interface{}) error
	Query(string, ...interface{}) (QueryResult, error)
	URL() string
}

func NewClient

func NewClient(hostname string) (Client, error)

func NewRQLClient

func NewRQLClient(hostname string) (Client, error)

func NewSQLClient

func NewSQLClient(hostname string) (Client, error)

type QueryResult

type QueryResult interface {
	Next() bool
	Scan(...interface{}) error
	Close() error
}

Jump to

Keyboard shortcuts

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