examples

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsyncGatewayExample

func AsyncGatewayExample() (engine.Engine, error)

func BasicGatewayExample

func BasicGatewayExample() (engine.Engine, error)

BasicGatewayExample returns a Basic Gateway API example

func CustomPattern

func CustomPattern(patternName string, custompattern string) (engine.Engine, error)

CustomPattern returns an engine configured for given pattern name

func DefaultChannelPattern

func DefaultChannelPattern() (engine.Engine, error)

func DefaultHTTPPattern

func DefaultHTTPPattern() (engine.Engine, error)

DefaultHTTPPattern returns an engine configured for the DefaultHttpPattern

func FileResourceHandlerExample

func FileResourceHandlerExample(uri string) (engine.Engine, error)

ResourceHandlerGateway :- read resource from file system

func HTTPResourceHandlerExample

func HTTPResourceHandlerExample() (engine.Engine, error)

ResourceHandlerGateway :- getting Http resource

func HandlerRoutingExample

func HandlerRoutingExample() (engine.Engine, error)

HandlerRoutingExample returns a Handler Routing API example

Types

This section is empty.

Jump to

Keyboard shortcuts

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