Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AccessTokens = rest.NewEndpoint("access-tokens") RefreshTokens = rest.NewEndpoint("refresh-tokens") Permissions = rest.NewEndpoint("permissions") RolePermissions = rest.NewEndpoint("role-permissions") Roles = rest.NewEndpoint("roles") UserRoles = rest.NewEndpoint("user-roles") )
Auth service children REST endpoints
View Source
var ( LogIn = rest.NewEndpoint("log-in") LogOut = rest.NewEndpoint("log-out") )
Auth service REST endpoints
View Source
var ChildrenMaps = map[string]*rest.Map{ AccessTokens.String(): accesstokens.Map, RefreshTokens.String(): refreshtokens.Map, Permissions.String(): permissions.Map, RolePermissions.String(): rolepermissions.Map, Roles.String(): roles.Map, UserRoles.String(): userroles.Map, }
ChildrenMaps is the map of the REST API endpoints of the auth service
View Source
var Interceptions = map[string]map[rest.Method]grpc.Method{ LogIn.String(): { rest.POST: auth.LogIn, }, LogOut.String(): { rest.POST: auth.LogOut, }, }
Interceptions is the map of the REST API endpoints to the auth service gRPC methods
View Source
var Map = rest.NewMap( &Interceptions, &ChildrenMaps, )
Map is the map of the REST API endpoints of the auth service
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.