Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLoginRateLimitMiddleware ¶
func NewLoginRateLimitMiddleware() gin.HandlerFunc
NewLoginRateLimitMiddleware is used to limit login attempts
func Start ¶
func Start(port int, apiPswd string, cookiePath string, db *sqlx.DB, eventChannel chan interface{}, broadcaster broadcast.BroadcastServer, serviceChannel chan commons.ServiceChannelMessage) error
func WebsocketHandler ¶ added in v0.7.3
Types ¶
type AuthSuccess ¶ added in v0.7.3
type AuthSuccess struct {
AuthSuccess bool `json:"authSuccess"`
}
Click to show internal directories.
Click to hide internal directories.