Documentation ¶
Index ¶
Constants ¶
View Source
const ( Heartbeat = "Heartbeat" GetPublicKey = "GetPublicKey" Create = "Create" UpdatePassword = "UpdatePassword" UpdateProfileInformation = "UpdateProfileInformation" UpdateContactInformation = "UpdateContactInformation" UploadProfileImage = "UploadProfileImage" UploadCoverImage = "UploadCoverImage" AddContact = "AddContact" RemoveContact = "RemoveContact" AcceptContact = "AcceptContact" Get = "Get" GetContacts = "GetContacts" Delete = "Delete" GetTokens = "GetTokens" ValidateToken = "ValidateToken" BlockToken = "BlockToken" SendResetPasswordEmail = "SendResetPasswordEmail" SendResetPasswordText = "SendResetPasswordText" SendMagicEmail = "SendMagicEmail" SendMagicText = "SendMagicText" VerifyEmail = "VerifyEmail" VerifyPhone = "VerifyPhone" VerifyMagicCode = "VerifyMagicCode" ResetPassword = "ResetPassword" InitializeAuth = "InitializeAuth" ContinueWith = "ContinueWith" Logout = "Logout" Login = "Login" RefreshToken = "RefreshToken" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interceptor ¶
type Interceptor interface { WithAuthenticateUnaryInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error) WithLogUnaryInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error) WithLogStreamInterceptor(req interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error }
func New ¶
func New(logger *zap.Logger, nuntio models.NuntioCoreClient, token token.Token, environment *environment.Environment) (Interceptor, error)
Click to show internal directories.
Click to hide internal directories.