role

package
v0.0.0-...-fd23dd1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2019 License: OSL-3.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	All(context.Context, *web.Session) []domain.Role
}

type ServiceImpl

type ServiceImpl struct {
	// contains filtered or unexported fields
}

func (*ServiceImpl) All

func (s *ServiceImpl) All(ctx context.Context, session *web.Session) []domain.Role

func (*ServiceImpl) Inject

func (s *ServiceImpl) Inject(p []provider.RoleProvider, cfg *struct {
	RolesHierarchy config.Map `inject:"config:security.roles.hierarchy"`
})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL