sql_executor

package
v0.11.19 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildGateway

func BuildGateway(gw *gateway.Gateway, opts ...Option)

func RegisterService

func RegisterService(serviceShortName string, baseUrl string)

Types

type Option

type Option func(options *Options)

func WithExecuteSqlMiddlewares added in v0.9.2

func WithExecuteSqlMiddlewares(middlewares ...gateway.Handler) Option

func WithGlobalMiddlewares added in v0.9.2

func WithGlobalMiddlewares(middlewares ...gateway.Handler) Option

func WithQueryRegisteredServicesMiddlewares added in v0.9.2

func WithQueryRegisteredServicesMiddlewares(middlewares ...gateway.Handler) Option

func WithServiceApiVersion

func WithServiceApiVersion(serviceApiVersion string) Option

func WithSqlExecuteLogMiddlewares added in v0.9.2

func WithSqlExecuteLogMiddlewares(middlewares ...gateway.Handler) Option

type Options

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

Jump to

Keyboard shortcuts

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