configuration

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 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 ...api.Handler) Option

func WithDeleteMiddlewares added in v0.9.2

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

func WithGlobalMiddlewares added in v0.9.2

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

func WithQueryMiddlewares added in v0.9.2

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

func WithQueryRegisteredServicesMiddlewares added in v0.9.2

func WithQueryRegisteredServicesMiddlewares(middlewares ...api.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