Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSessionID = errors.New("no session id presented in the request")
ErrNoSessionID is returned from request
Functions ¶
This section is empty.
Types ¶
type Gateway ¶
type Gateway struct { ProtectedSitesConfig map[string]config.ProtectedSiteConfig SessionRepository repo.SessionRepository }
Gateway main structure, holds protected sites config and session repository
func NewGateway ¶
func NewGateway(protectedSitesConfig []config.ProtectedSiteConfig, sessionRepository repo.SessionRepository) *Gateway
NewGateway constructs new Gateway Instance
Click to show internal directories.
Click to hide internal directories.