mosql

package
v0.0.0-...-124d07b Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewClient = newClient

Functions

This section is empty.

Types

type Client

type Client interface {
	GetServerConnection(ctx context.Context, uid string) (int, error)
	Query(ctx context.Context, query string, args ...any) (*sql.Rows, error)
}

func NewFakeClient

func NewFakeClient(_ string, _ client.Client, _ types.NamespacedName) Client

Jump to

Keyboard shortcuts

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