Documentation ¶
Index ¶
- Constants
- type Cache
- type Enricher
- func (e *Enricher) EnrichCategory(doc common.ICategory)
- func (e *Enricher) EnrichJobInfo(usr common.IJobInfo)
- func (e *Enricher) EnrichJobName(usr common.IJobName)
- func (e *Enricher) GetJobByName(job string) *users.Job
- func (e *Enricher) GetJobGrade(job string, grade int32) (*users.Job, *users.JobGrade)
- type Params
- type Searcher
- type UserAwareEnricher
Constants ¶
View Source
const (
NotAvailablePlaceholder = "N/A"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) GetLawBooks ¶
func (*Cache) GetSearcher ¶
type Enricher ¶
type Enricher struct {
// contains filtered or unexported fields
}
func (*Enricher) EnrichCategory ¶
func (*Enricher) EnrichJobInfo ¶
func (*Enricher) EnrichJobName ¶
type Searcher ¶
type Searcher struct {
// contains filtered or unexported fields
}
func NewSearcher ¶
type UserAwareEnricher ¶
type UserAwareEnricher struct { *Enricher // contains filtered or unexported fields }
func NewUserAwareEnricher ¶
func NewUserAwareEnricher(enricher *Enricher, ps perms.Permissions) *UserAwareEnricher
func (*UserAwareEnricher) EnrichJobInfoSafe ¶
func (e *UserAwareEnricher) EnrichJobInfoSafe(userInfo *userinfo.UserInfo, usrs ...common.IJobInfo)
func (*UserAwareEnricher) EnrichJobInfoSafeFunc ¶
func (e *UserAwareEnricher) EnrichJobInfoSafeFunc(userInfo *userinfo.UserInfo) func(usr common.IJobInfo)
Click to show internal directories.
Click to hide internal directories.