Versions in this module Expand all Collapse all v0 v0.0.2 Jul 18, 2023 v0.0.1 Jul 18, 2023 Changes in this version + const CONF_HTTP_CERT + const CONF_HTTP_KEY + const CONF_HTTP_PORT + const CONF_HTTP_SSL + const CONF_HTTP_SWAGGER + var ConfigurationPrefix = "" + var ErrMissingConfig = errors.New("missing config key") + type API interface + Start func() error + SubRouter func(prefix string, jwtSecure bool) (*echo.Group, error) + func New() (API, error) + func NewWithConfig(c Config) (API, error) + type Config struct + Port string + SSL SSL + Swagger bool + type Handler struct + func (h Handler) Healthcheck(c echo.Context) error + type Healthcheck struct + Health bool + type SSL struct + Cert string + Enable bool + Key string