Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Relative = typesrest.NewEndpoint("") ByUserId = typesrest.NewEndpoint("", typesrest.UserId) )
Auth service user roles REST endpoints
View Source
var Interceptions = map[string]map[rest.Method]grpc.Method{ Relative.String(): { rest.POST: auth.AddUserRole, rest.DELETE: auth.RevokeUserRole, }, ByUserId.String(): { rest.GET: auth.GetUserRoles, }, }
Interceptions is the map of the REST API endpoints to the auth service refresh tokens gRPC methods
View Source
var Map = rest.NewMap( &Interceptions, nil, )
Map is the map of the REST API endpoints of the auth service user roles
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.