heartclient

package
v0.0.0-...-0dcfd8c Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeartClient

type HeartClient struct {
	// contains filtered or unexported fields
}

func NewHeartClient

func NewHeartClient(hearturl string, logger *logger.Logger, cert string) (*HeartClient, error)

func (*HeartClient) RouteReadRequest

func (h *HeartClient) RouteReadRequest(ctx context.Context, sql string, args ...any) (string, error)

func (*HeartClient) SendWriteRequest

func (h *HeartClient) SendWriteRequest(ctx context.Context, sql string, args ...any) error

Jump to

Keyboard shortcuts

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