package
1.8.0
Repository: https://github.com/jolheiser/gitea.git
Documentation: pkg.go.dev

# Functions

CheckLFSVersion will check lfs version, if not satisfied, then disable it.
DateLang transforms standard language locale name to corresponding value in datetime plugin.
DBConnStr returns database connection string.
GetDBTypeByName returns the dataase type as it defined on XORM according the given name.
GetQueueSettings returns the queue settings for the appropriately named queue.
IndexerGlobFromString parses a comma separated list of patterns and returns a glob.Glob slice suited for repo indexing.
InitDBConfig loads the database settings.
IsRunUserMatchCurrentUser returns false if configured run user does not match actual user that runs the app.
NewContext initializes configuration context.
NewLogServices creates all the log services.
NewQueueService sets up the default settings for Queues This is exported for tests to be able to use the queue.
NewServices initializes the services.
NewXORMLogService initializes xorm logger service.
ParseMSSQLHostPort splits the host into host and port.
ParseQueueConnStr parses a queue connection string.
RestartLogsWithPIDSuffix restarts the logs with a PID suffix on files.
SetCustomPathAndConf will set CustomPath and CustomConf with reference to the GITEA_CUSTOM environment variable and with provided overrides before stepping back to the default.

# Constants

enumerates all the indexer queue types.
enumerates all the scheme types.
enumerates all the scheme types.
enumerates all the scheme types.
enumerates all the scheme types.
enumerates all the types of captchas.
enumerates all the landing page types.
enumerates all the landing page types.
enumerates all the landing page types.
enumerates all the landing page types.
enumerates all the indexer queue types.
enumerates all the types of captchas.
enumerates all the indexer queue types.
enumerates all the policy repository creating.
enumerates all the policy repository creating.
enumerates all the policy repository creating.
enumerates all the scheme types.

# Variables

settings.
Admin settings.
API settings.
settings.
settings.
settings.
settings.
settings.
Number of slashes.
settings.
AppVer settings.
settings.
settings.
settings.
settings.
settings.
Attachment settings.
settings.
settings.
settings.
Picture settings.
CacheService the global cache.
settings.
Global setting objects.
settings.
settings.
CORSConfig defines CORS settings.
Cron tasks.
settings.
settings.
settings.
Custom directory path.
settings.
Database holds the database settings.
UILocation is the location on the UI, so that we can display the time on UI.
settings.
settings.
settings.
settings.
settings.
settings.
settings.
settings.
settings.
EnableSQLite3 use SQLite3, set by build flag.
settings.
ExternalMarkupParsers represents the external markup parsers.
ExternalMarkupParsers represents the external markup parsers.
Git settings.
settings.
settings.
settings.
settings.
settings.
settings.
settings.
settings.
Indexer settings.
Security settings.
internal access token.
settings.
settings.
settings.
I18n settings.
settings.
settings.
settings.
settings.
settings.
settings.
settings.
settings.
Log settings.
settings.
MailService the global mailer.
Markdown settings.
Metrics settings.
Migrations settings.
settings.
Mirror settings.
settings.
settings.
settings.
settings.
settings.
settings.
settings.
settings.
settings.
Server settings.
Queue settings.
settings.
settings.
Repository settings.
Repository settings.
settings.
settings.
settings.
settings.
settings.
settings.
settings.
settings.
Repository settings.
settings.
Service settings.
SessionConfig difines Session settings.
Other settings.
settings.
settings.
settings.
settings.
settings.
settings.
settings.
settings.
SupportedDatabases includes all supported databases type.
Time settings.
settings.
UI settings.
UILocation is the location on the UI, so that we can display the time on UI.
settings.
Webhook settings.

# Structs

Cache represents cache settings.
LogDescription describes a named logger.
Mailer represents mail service.
MarkupParser defines the external parser configured in ini.
MarkupSanitizerRule defines the policy for whitelisting attributes on certain elements.
QueueSettings represent the settings for a queue from the ini.
SubLogDescription describes a sublogger.

# Type aliases

LandingPage describes the default page.
Scheme describes protocol types.