Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotAuthorized = fmt.Errorf("user is not authorized")
)
Functions ¶
This section is empty.
Types ¶
type NotificationLogic ¶
type NotificationLogic interface { IsLoggedIn(ctx context.Context, token string) (*common.AuthedUser, errors.Api) OpenSocket(ctx context.Context, w http.ResponseWriter, r *http.Request) error EventAppInvite(ctx context.Context, notification notifyhub.IncomingEvent) HideNotification(ctx context.Context, notify notifyhub.HideEvent) RemoveNotifcation(ctx context.Context, notify notifyhub.RemoveEvent) }
func NewNotificationLogic ¶
func NewNotificationLogic(userauthC userauthsvc.UserAuthenticationClient, notifyHub *notifyhub.NotifyHub) NotificationLogic
Click to show internal directories.
Click to hide internal directories.