Documentation
¶
Index ¶
- type Context
- func (context *Context) GetHttpAuthenticatedUser(ctx *fiber.Ctx) (string, error)
- func (context *Context) GetHttpSession(c *fiber.Ctx) *session.Session
- func (context *Context) HttpBindAddr() string
- func (context *Context) PathWithPrefix(path string) string
- func (context *Context) SetHttpAuthenticatedUser(ctx *fiber.Ctx, username string) (string, error)
- func (context *Context) SmtpBindAddr() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
Authentication authentication.Authentication
Storage storage.Storage
Config config.AppConfig
HttpSession *session.Store
Sharing emailSharing.EmailSharing
}
func (*Context) GetHttpAuthenticatedUser ¶
func (*Context) GetHttpSession ¶
func (*Context) HttpBindAddr ¶
func (*Context) PathWithPrefix ¶
func (*Context) SetHttpAuthenticatedUser ¶
func (*Context) SmtpBindAddr ¶
Click to show internal directories.
Click to hide internal directories.