Documentation ¶
Index ¶
- Constants
- func WithRouterHttpConfiguration(config runtime.Configuration[*runtime.HttpRunnable]) runtime.Configuration[*Router]
- func WithRouterHttpHandler(method string, path string, handler http.HandlerFunc) runtime.Configuration[*Router]
- func WithRouterPort(port int) runtime.Configuration[*Router]
- func WithRouterPrometheus() runtime.Configuration[*Router]
- type Router
Constants ¶
View Source
const ( GET = "GET" POST = "POST" PUT = "PUT" DELETE = "DELETE" )
Variables ¶
This section is empty.
Functions ¶
func WithRouterHttpConfiguration ¶ added in v0.0.13
func WithRouterHttpConfiguration(config runtime.Configuration[*runtime.HttpRunnable]) runtime.Configuration[*Router]
func WithRouterHttpHandler ¶
func WithRouterHttpHandler(method string, path string, handler http.HandlerFunc) runtime.Configuration[*Router]
func WithRouterPrometheus ¶
func WithRouterPrometheus() runtime.Configuration[*Router]
Types ¶
Click to show internal directories.
Click to hide internal directories.