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