Documentation ¶
Index ¶
- Variables
- type Controller
- func (c *Controller) Authenticate(s *session.Session) (*models.User, error)
- func (c *Controller) Close() error
- func (c *Controller) DownloadPicture(uuid string) ([]byte, error)
- func (c *Controller) ListUsers(s *session.Session, filter *Filter[models.User]) ([]models.User, error)
- func (c *Controller) Login(req *Login) (*models.User, string, error)
- func (c *Controller) Logout(s *session.Session) error
- func (c *Controller) Register(u *models.User) error
- func (c *Controller) SendMessage(s *session.Session, msg *models.Message) error
- func (c *Controller) SendNotificationWithFirebase(recipients []string, msg *models.Message) error
- type Filter
- type Login
Constants ¶
This section is empty.
Variables ¶
View Source
var (
)Functions ¶
This section is empty.
Types ¶
type Controller ¶
func NewMem ¶
func NewMem() *Controller
func (*Controller) Authenticate ¶
func (*Controller) Close ¶
func (c *Controller) Close() error
func (*Controller) DownloadPicture ¶ added in v0.0.5
func (c *Controller) DownloadPicture(uuid string) ([]byte, error)
func (*Controller) SendMessage ¶
func (*Controller) SendNotificationWithFirebase ¶
func (c *Controller) SendNotificationWithFirebase(recipients []string, msg *models.Message) error
Click to show internal directories.
Click to hide internal directories.