package
0.0.0-20220322084652-16f8954eccdd
Repository: https://github.com/lf-engineering/dev-analytics-affiliation.git
Documentation: pkg.go.dev

# Constants

3 hours 10,800,000 ms.
ContributorRole - Contributor.
DateFormat - format date as YYYY-MM-DD.
DefaultRole - default enrollment role.
ESCacheTTL - used by ES query.
FetchSize - fetch size for _sql.
LogListMax - do not log lists longer than 30 elements, display list counts instead.
MaintainerRole - Maintainer.
MaxAggsSize - maximum number of results to get for top contributors.

# Variables

DataSourcesFields - predefined data for data source types TOPCON.
DataSourceTypesSortOrder - order of data source types.
EmailRegex - to match the email address.
GDA2SF - map DA name to SF name.
GRedacted - keep redacted string that shoudl not be returned to the client.
GRedactedMtx - mutex protecting GRedacted.
GSF2DA - map SF name to DA name.
GSlugMappingMtx - mutex protecting GDA2SF and GSF2DA.
GSQLOut - if set displays all SQLs that are executed (if not set, only failed ones).
GSyncURL - used to trigger ssaw sync.
MaxPeriodDate - default end date for enrollments.
MinPeriodDate - default start data for enrollments.
Roles - all currently defined roles.
TopContributorsCacheTTL - top contributors cache TTL (3 hours).
TopContributorsDataSources - defined data sources.
WhiteSpace - whitespace regexp.

# Structs

LocalAllOutput - embed to add Sortkey() method.
LocalEnrollmentShortOutput - embed to add Sortkey() method.
LocalIdentity - to display data inside pointers.
LocalIdentityShortOutput - embed to add Sortkey() method.
LocalOrganization - to display data inside pointers.
LocalProfile - to display data inside pointers.
LocalUniqueIdentity - to display data inside pointers.
ServiceStruct - Shared API Struct.

# Interfaces

ServiceInterface - Shared API interface.