Documentation ¶
Index ¶
- func NewAuthenticationServer(logger *zap.SugaredLogger, database *db.DB, ...) userv1.AuthenticationServiceServer
- func NewSubscriptionServer(logger *zap.SugaredLogger, database *db.DB, ...) userv1.SubscriptionServiceServer
- func NewUserServer(logger *zap.SugaredLogger, database *db.DB, ...) userv1.UserServiceServer
- type TokenTypeEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthenticationServer ¶
func NewAuthenticationServer(logger *zap.SugaredLogger, database *db.DB, mailClient notificationv1.MailServiceClient, imageClient imagev1.ImageServiceClient) userv1.AuthenticationServiceServer
func NewSubscriptionServer ¶
func NewSubscriptionServer(logger *zap.SugaredLogger, database *db.DB, notificiationClient notificationv1.NotificationServiceClient) userv1.SubscriptionServiceServer
func NewUserServer ¶
func NewUserServer(logger *zap.SugaredLogger, database *db.DB, postClient postv1.PostServiceClient, imageClient imagev1.ImageServiceClient) userv1.UserServiceServer
Types ¶
type TokenTypeEnum ¶
type TokenTypeEnum string
const ( Activation TokenTypeEnum = "activation" Password TokenTypeEnum = "password_reset" )
Click to show internal directories.
Click to hide internal directories.