Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRouter ¶
func NewRouter(cfg RouterConfig) func(userRouter chi.Router)
Types ¶
type RouterConfig ¶
type RouterConfig struct { Logger log.Interface UserManager user.Manager SessionCookiesDomain string AccessTokenSecretKey string RefreshTokenSecretKey string GoogleAuthClientID string GoogleAuthClientSecret string GoogleAuthCallbackRedirectURL string FacebookAuthClientID string FacebookAuthClientSecret string FacebookAuthCallbackRedirectURL string FrontendAppURL string }
Click to show internal directories.
Click to hide internal directories.