handler

package
v0.0.0-...-661c6f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateProjectHandler

func CreateProjectHandler(uid int, req *project.Project) response.Response

func DeleteProjectHandler

func DeleteProjectHandler(pid int) response.Response

func LoginHandler

func LoginHandler(req *user.User) response.Response

func LogoutHandler

func LogoutHandler(uid int) response.Response

func PushMessageHandler

func PushMessageHandler(p *ent.Project, req *firebase.Messages) response.Response

func ReadAllProjectsHandler

func ReadAllProjectsHandler(uid int) response.Response

func ReadProjectHandler

func ReadProjectHandler(uid int, pid int) response.Response

func SignupHandler

func SignupHandler(req *user.User) response.Response

func TopicSubscribeHandler

func TopicSubscribeHandler(p *ent.Project, req *firebase.TopicWithTokens) response.Response

func TopicUnsubscribeHandler

func TopicUnsubscribeHandler(p *ent.Project, req *firebase.TopicWithTokens) response.Response

func UpdateProjectHandler

func UpdateProjectHandler(uid int, pid int, req *project.Project) response.Response

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL