configuration

package
v0.11.12 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 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 WithCreateMiddlewares added in v0.9.2

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

func WithDeleteMiddlewares added in v0.9.2

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

func WithGlobalMiddlewares added in v0.9.2

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

func WithQueryMiddlewares added in v0.9.2

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

func WithQueryRegisteredServicesMiddlewares added in v0.9.2

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

func WithServiceApiVersion

func WithServiceApiVersion(serviceApiVersion string) 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