config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RouteConfig

type RouteConfig struct {
	Url            string
	Methods        []string
	Controller     string
	EventListeners []commonConfig.EventListenerConfig `mapstructure:"event_listeners"`
	Timeout        TimeoutConfig
}

func (*RouteConfig) ControllerAlias

func (c *RouteConfig) ControllerAlias() string

func (*RouteConfig) ControllerMethod

func (c *RouteConfig) ControllerMethod() string

type TimeoutConfig added in v1.1.0

type TimeoutConfig struct {
	Duration string
	Handler  string
}

func (*TimeoutConfig) HandlerAlias added in v1.1.0

func (c *TimeoutConfig) HandlerAlias() string

func (*TimeoutConfig) HandlerMethod added in v1.1.0

func (c *TimeoutConfig) HandlerMethod() string

Jump to

Keyboard shortcuts

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