Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Relative = typesrest.NewRelativeEndpoint() ByEmail = typesrest.NewRelativeEndpoint(typesrest.Email) Primary = typesrest.NewEndpoint("primary") SendVerification = typesrest.NewEndpoint("send-verification") VerifyByToken = typesrest.NewEndpoint( "verify", typesrest.Token, ) )
User service emails REST endpoints
View Source
var ( GetActiveEmailsMapper = typesrest.NewMapper(Relative, grpcuser.GetActiveEmails) AddEmailMapper = typesrest.NewMapper(Relative, grpcuser.AddEmail) GetPrimaryEmailMapper = typesrest.NewMapper(Primary, grpcuser.GetPrimaryEmail) ChangePrimaryEmailMapper = typesrest.NewMapper(Primary, grpcuser.ChangePrimaryEmail) DeleteEmailMapper = typesrest.NewMapper(ByEmail, grpcuser.DeleteEmail) SendVerificationEmailMapper = typesrest.NewMapper(SendVerification, grpcuser.SendVerificationEmail) VerifyEmailMapper = typesrest.NewMapper(VerifyByToken, grpcuser.VerifyEmail) )
Users service emails endpoints mapping
View Source
var Base = typesrest.NewBaseEndpoint("emails")
Base is the base endpoint for the user service emails REST endpoints
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.