Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Relative = rest.NewEndpoint("") ById = rest.NewEndpoint("", rest.Id) )
Auth service permissions REST endpoints
View Source
var Interceptions = map[string]map[rest.Method]grpc.Method{ Relative.String(): { rest.GET: auth.GetPermissions, rest.POST: auth.AddPermission, }, ById.String(): { rest.GET: auth.GetPermission, rest.DELETE: auth.RevokePermission, }, }
Interceptions is the map of the REST API endpoints to the auth service permissions gRPC methods
View Source
var Map = rest.NewMap( &Interceptions, nil, )
Map is the map of the REST API endpoints of the auth service permissions
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.