sqlsec

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 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

type SQLOperation struct {
	dyngo.Operation
}

type SQLOperationArgs

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

func (SQLOperationArgs) IsArgOf(*SQLOperation)

type SQLOperationRes

type SQLOperationRes struct{}

func (SQLOperationRes) IsResultOf

func (SQLOperationRes) IsResultOf(*SQLOperation)

Jump to

Keyboard shortcuts

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