package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Jul 1, 2019
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Server is the server to process incoming HTTP requests
New creates a new server with the provided REST api configuration and server configuration
Run starts the server awaiting for incoming requests
type Settings struct {
Port int `mapstructure:"port" description:"port of the server"`
}
Settings type to be loaded from the environment
DefaultSettings returns the default values for configuring the server
Validate validates the server settings
Source Files
¶
Click to show internal directories.
Click to hide internal directories.