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 ¶
type Controller struct {
Version string
Database database.Client
NoRegistration bool
// 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.
Click to show internal directories.
Click to hide internal directories.