Documentation ¶
Index ¶
- func BuildGateway(gw *gateway.Gateway, opts ...Option)
- func RegisterService(serviceShortName string, baseUrl string)
- type Option
- func WithCreateMiddlewares(middlewares ...gateway.Handler) Option
- func WithDeleteMiddlewares(middlewares ...gateway.Handler) Option
- func WithGlobalMiddlewares(middlewares ...gateway.Handler) Option
- func WithQueryMiddlewares(middlewares ...gateway.Handler) Option
- func WithQueryRegisteredServicesMiddlewares(middlewares ...gateway.Handler) Option
- func WithServiceApiVersion(serviceApiVersion string) Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildGateway ¶
func RegisterService ¶
Types ¶
type Option ¶
type Option func(options *Options)
func WithCreateMiddlewares ¶ added in v0.9.2
func WithDeleteMiddlewares ¶ added in v0.9.2
func WithGlobalMiddlewares ¶ added in v0.9.2
func WithQueryMiddlewares ¶ added in v0.9.2
func WithQueryRegisteredServicesMiddlewares ¶ added in v0.9.2
func WithServiceApiVersion ¶
Click to show internal directories.
Click to hide internal directories.