Skip to content
Snippets Groups Projects

Add basic application framework and example application to show interaction between events an NBI

Merged Ghost User requested to merge istaester/init-application-framework into develop
2 files
+ 30
16
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -23,10 +23,11 @@ type Role struct {
roleService rbacInterfaces.RoleService
}
// NewRoleServer receives a JWTManager and returns a new Role.
func NewRoleServer(jwtManager *rbac.JWTManager) *Role {
// NewRoleServer receives a JWTManager and a RoleService and returns a new RoleServer.
func NewRoleServer(jwtManager *rbac.JWTManager, roleService rbacInterfaces.RoleService) *Role {
return &Role{
jwtManager: jwtManager,
jwtManager: jwtManager,
roleService: roleService,
}
}
Loading