sqlsec

package
v1.71.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProtectSQLOperation

func ProtectSQLOperation(ctx context.Context, query, driver string) error

Types

type SQLOperation added in v1.69.0

type SQLOperation struct {
	dyngo.Operation
}

type SQLOperationArgs added in v1.69.0

type SQLOperationArgs struct {
	// Query corresponds to the addres `server.db.statement`
	Query string
	// Driver corresponds to the addres `server.db.system`
	Driver string
}

func (SQLOperationArgs) IsArgOf added in v1.69.0

func (SQLOperationArgs) IsArgOf(*SQLOperation)

type SQLOperationRes added in v1.69.0

type SQLOperationRes struct{}

func (SQLOperationRes) IsResultOf added in v1.69.0

func (SQLOperationRes) IsResultOf(*SQLOperation)

Jump to

Keyboard shortcuts

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