Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalid = errors.New("invalid")
ErrInvalid is returned when the packet is invalid.
Functions ¶
This section is empty.
Types ¶
type BindStatement ¶
BindStatement is a bind statement.
func NewBindStatement ¶
func NewBindStatement(opts ...BindStatementOption) BindStatement
NewBindStatement creates a new bind statement.
type BindStatementOption ¶
type BindStatementOption func(*bindStmt)
BindStatementOption is a bind statement option.
func WithBindStatementParams ¶
func WithBindStatementParams(params BindParams) BindStatementOption
WithBindStatementParams sets the params.
func WithBindStatementQuery ¶
func WithBindStatementQuery(query string) BindStatementOption
WithBindStatementQuery sets the query.
Click to show internal directories.
Click to hide internal directories.