Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Relative = typesrest.NewEndpoint("") SendVerification = typesrest.NewEndpoint("send-verification") VerifyByToken = typesrest.NewEndpoint( "verify", typesrest.Token, ) )
User service phone numbers REST endpoints
View Source
var Interceptions = map[string]map[rest.Method]grpc.Method{ Relative.String(): { rest.PUT: user.ChangePhoneNumber, rest.GET: user.GetPhoneNumber, }, SendVerification.String(): { rest.POST: user.SendVerificationSMS, }, VerifyByToken.String(): { rest.POST: user.VerifyPhoneNumber, }, }
Interceptions is the map of the REST API endpoints to the user service phone numbers gRPC methods
View Source
var Map = rest.NewMap( &Interceptions, nil, )
Map is the map of the REST API endpoints of the user service phone numbers
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.