Documentation ¶
Index ¶
- Variables
- func Config() *badger.DB
- func GetRepo(repoId string, db *badger.DB) (*gitea.Repository, bool)
- func GetRepoList(srv, org string, db *badger.DB) ([]*gitea.Repository, error, bool)
- func PutRepo(repoId string, r *gitea.Repository, db *badger.DB) error
- func PutRepoList(srv, org string, repos []*gitea.Repository, db *badger.DB) error
- type ByteArray
- type NullLogger
Constants ¶
This section is empty.
Variables ¶
View Source
var OrgGiteaTimeout = time.Second * 60
View Source
var OrgGithubTimeout = time.Second * 60
View Source
var RepoGiteaTimeout = time.Second * 300
Functions ¶
func GetRepoList ¶
func PutRepoList ¶
Types ¶
type NullLogger ¶
type NullLogger struct{}
func (NullLogger) Debugf ¶
func (NullLogger) Debugf(string, ...interface{})
func (NullLogger) Errorf ¶
func (NullLogger) Errorf(string, ...interface{})
func (NullLogger) Infof ¶
func (NullLogger) Infof(string, ...interface{})
func (NullLogger) Warningf ¶
func (NullLogger) Warningf(string, ...interface{})
Click to show internal directories.
Click to hide internal directories.