Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
Option is a http rest server functional parameter type.
func WithHTTPAddr ¶
WithHTTPAddr sets the full address ( host and port ) of the server.
func WithMiddlewares ¶
func WithMiddlewares(mw []middleware.Middleware) Option
WithMiddlewares sets the list of middlewares to be applied on routes.
func WithRouter ¶
WithRouter sets the internal router of the server, this is required.
func WithTimeout ¶
WithTimeout allows changing the timeout value for API calls.
Click to show internal directories.
Click to hide internal directories.