Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ByUserId = rest.NewEndpoint( "", rest.UserId, ) ExistsByUsername = rest.NewEndpoint( "exists", rest.Username, ) )
User service usernames REST endpoints
View Source
var Interceptions = map[string]map[rest.Method]grpc.Method{ ByUserId.String(): { rest.GET: user.GetUsernameByUserId, }, ExistsByUsername.String(): { rest.GET: user.UsernameExists, }, }
Interceptions is the map of the REST API endpoints to the user service usernames gRPC methods
View Source
var Map = rest.NewMap( &Interceptions, nil, )
Map is the map of the REST API endpoints of the user service usernames
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.