Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Database ¶
Database returns a sql.DB for the default database. If it is not possible to connect to the database, this function will panic. Multiple calls will always return the same instance.
func ModelMentionStore ¶
func ModelMentionStore() *model.MentionStore
ModelMentionStore returns the default *model.ModelMentionStore, using the default database. If it is not possible to connect to the database, this function will panic. Multiple calls will always return the same instance.
func ModelRepositoryStore ¶
func ModelRepositoryStore() *model.RepositoryStore
ModelRepositoryStore returns the default *model.RepositoryStore, using the default database. If it is not possible to connect to the database, this function will panic. Multiple calls will always return the same instance.
func RootedTransactioner ¶
func RootedTransactioner() repository.RootedTransactioner
RootedTransactioner returns the default RootedTransactioner instance, using the default RootRepositories directory. The local filesystem used to create the transactioner is the default TemporaryFilesystem from core container.
func TemporaryFilesystem ¶
func TemporaryFilesystem() billy.Filesystem
TemporaryFilesystem returns a billy.Filesystem that can be used to store temporary files. This directory is dedicated to the running application.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Code generated by https://github.com/src-d/go-kallax.
|
Code generated by https://github.com/src-d/go-kallax. |
Package repository implements services to work with Git repository storage.
|
Package repository implements services to work with Git repository storage. |