g2g/github_to_gogs.ini.sample
2019-01-05 23:26:55 +01:00

21 lines
452 B
Plaintext

[global]
request_timeout=1200s
user_agent="Golang"
[github]
stars_pages="https://api.github.com/users/%s/starred?page=%d"
max_pages_number=8
auth_username="user"
auth_password="pass"
content_type="application/x-www-form-urlencoded"
[gogs]
uid=1
username="user"
repo_url_tmpl="https://gogs.example.com/api/v1/repos/%s/%s"
migrate_url="https://gogs.example.com/api/v1/repos/migrate"
auth_token="token xxxx"
content_type="application/json"
mirror=true