Documentation ¶
Index ¶
- Variables
- func AnswersUpdate(c *gin.Context)
- func CommentCreate(c *gin.Context)
- func CommentIndex(c *gin.Context)
- func ConfigureEmailer(config emailer.Config)
- func EventAddHost(c *gin.Context)
- func EventCreate(c *gin.Context)
- func EventDestroy(c *gin.Context)
- func EventGoing(c *gin.Context)
- func EventIndex(c *gin.Context)
- func EventMaybe(c *gin.Context)
- func EventPosts(c *gin.Context)
- func EventRemoveHost(c *gin.Context)
- func EventShow(c *gin.Context)
- func EventUnsubscribe(c *gin.Context)
- func EventUpdate(c *gin.Context)
- func FlagCreate(c *gin.Context)
- func FriendshipCreate(c *gin.Context)
- func FriendshipDestroy(c *gin.Context)
- func FriendshipIndex(c *gin.Context)
- func FriendshipShow(c *gin.Context)
- func FriendshipUpdate(c *gin.Context)
- func HashtagShow(c *gin.Context)
- func LikeCreate(c *gin.Context)
- func LoginHandler(c *gin.Context)
- func LogoutHandler(c *gin.Context)
- func MatchIndex(c *gin.Context)
- func MessageCreate(c *gin.Context)
- func MessageIndex(c *gin.Context)
- func MessageThreadSubscribe(c *gin.Context)
- func MessageUnread(c *gin.Context)
- func NewMessages(c *gin.Context)
- func NotificationIndex(c *gin.Context)
- func NotificationsCount(c *gin.Context)
- func PasswordResetCreate(c *gin.Context)
- func PasswordResetShow(c *gin.Context)
- func PasswordResetUpdate(c *gin.Context)
- func PostCreate(c *gin.Context)
- func PostDestroy(c *gin.Context)
- func PostIndex(c *gin.Context)
- func PostShow(c *gin.Context)
- func PostUpdate(c *gin.Context)
- func QuestionIndex(c *gin.Context)
- func SocketTicketCreate(c *gin.Context)
- func ThreadCreate(c *gin.Context)
- func ThreadIndex(c *gin.Context)
- func UserAvatarUpload(c *gin.Context)
- func UserCreate(c *gin.Context)
- func UserShow(c *gin.Context)
- func UserUpdate(c *gin.Context)
- type MessageThreadSubscription
- type PWBinding
- type PWInitBinding
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBinding = errors.New("Couldn't bind JSON to model") ErrCannotUpdate = errors.New("You do not have the permissions to update this record") ErrCannotDelete = errors.New("You do not have the permissions to delete this record") ErrAlreadyExists = errors.New("Cannot create resource as it already exists") ErrEnemy = errors.New("Match percentage is too low to friend this person. They do not want enemies.") )
Functions ¶
func AnswersUpdate ¶
AnswersUpdate updates the coordinates of user based on question answers
func CommentCreate ¶
func CommentIndex ¶
func ConfigureEmailer ¶
func EventAddHost ¶
func EventCreate ¶
func EventDestroy ¶
func EventGoing ¶
func EventIndex ¶
func EventMaybe ¶
func EventPosts ¶
func EventRemoveHost ¶
func EventUnsubscribe ¶
func EventUpdate ¶
func FriendshipCreate ¶
func FriendshipDestroy ¶
func FriendshipIndex ¶
func FriendshipShow ¶
func FriendshipUpdate ¶
func HashtagShow ¶
func LikeCreate ¶
func LoginHandler ¶
func LogoutHandler ¶
func MatchIndex ¶
func MessageCreate ¶
func MessageIndex ¶
func MessageThreadSubscribe ¶
MessageThreadSubscribe manages a websocket subscription to check for incoming messages
func MessageUnread ¶
func NewMessages ¶
func NotificationIndex ¶
func NotificationsCount ¶
NotificationsCount returns the number of unread notifications
func PasswordResetCreate ¶
func PasswordResetShow ¶
func PasswordResetUpdate ¶
func PostCreate ¶
func PostDestroy ¶
func PostUpdate ¶
func QuestionIndex ¶
QuestionIndex finds a random QuestionSet, shuffles, and shows it
func SocketTicketCreate ¶
func ThreadCreate ¶
func ThreadIndex ¶
func UserAvatarUpload ¶
func UserCreate ¶
func UserUpdate ¶
Types ¶
type MessageThreadSubscription ¶
type MessageThreadSubscription struct {
// contains filtered or unexported fields
}
MessageThreadSubscription manages a subscription
func (MessageThreadSubscription) MessageReadLoop ¶
func (sub MessageThreadSubscription) MessageReadLoop()
func (MessageThreadSubscription) MessageWriteLoop ¶
func (sub MessageThreadSubscription) MessageWriteLoop(db *gorm.DB)
type PWInitBinding ¶
type PWInitBinding struct {
Email string `json:"email"`
}
Source Files ¶
- answer_handlers.go
- comment_handlers.go
- errors.go
- event_handlers.go
- flag_handlers.go
- friendship_handlers.go
- hashtag_handlers.go
- like_handlers.go
- login_handlers.go
- matches_handlers.go
- message_handlers.go
- message_subscription_handlers.go
- notification_handlers.go
- password_reset_handlers.go
- post_handlers.go
- question_handlers.go
- socket_ticket_handlers.go
- user_handlers.go
- utils.go
- v2.go
Click to show internal directories.
Click to hide internal directories.