Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EchoEngine ¶
func EchoEngine(ctrl Controller) *echo.Echo
EchoEngine instantiates the wep server.
Types ¶
type Controller ¶ added in v0.6.0
type Controller struct { Version string Database database.Client NoRegistration bool ShowRealVersion bool SubscriptionPayload []byte FeaturesPayload []byte AllowOrigins []string AllowMethods []string // JWT params SigningKey []byte // Session params SessionSecret []byte AccessTokenExpirationTime time.Duration RefreshTokenExpirationTime time.Duration }
A Controller is an Iversion Of Control pattern used to init the server package.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.