Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Relative = typesrest.NewEndpoint("") ByRoleId = typesrest.NewEndpoint("", typesrest.RoleId) )
Auth service roles REST endpoints
View Source
var Interceptions = map[string]map[rest.Method]grpc.Method{ Relative.String(): { rest.POST: auth.AddRole, rest.GET: auth.GetRoles, }, ByRoleId.String(): { rest.POST: auth.AddRolePermission, rest.GET: auth.GetRolePermissions, rest.DELETE: auth.RevokeRole, }, }
Interceptions is the map of the REST API endpoints to the auth service roles gRPC methods
View Source
var Map = rest.NewMap( &Interceptions, nil, )
Map is the map of the REST API endpoints of the auth service roles
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.