Compare commits
1 Commits
v1.0.0
...
dad080aa50
| Author | SHA1 | Date | |
|---|---|---|---|
| dad080aa50 |
4
.gitignore
vendored
4
.gitignore
vendored
@@ -46,8 +46,4 @@ tags
|
|||||||
# Persistent undo
|
# Persistent undo
|
||||||
[._]*.un~
|
[._]*.un~
|
||||||
|
|
||||||
# Misc
|
|
||||||
.DS_Store
|
|
||||||
dist/
|
|
||||||
|
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/go,vim
|
# End of https://www.toptal.com/developers/gitignore/api/go,vim
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
gitea_urls:
|
|
||||||
api: https://git.handmadecities.com/api/v1
|
|
||||||
download: https://git.handmadecities.com/
|
|
||||||
# set to true if you use a self-signed certificate
|
|
||||||
skip_tls_verify: false
|
|
||||||
2
main.go
2
main.go
@@ -44,7 +44,7 @@ type Config struct {
|
|||||||
ApiUrl string `toml:"api_url"`
|
ApiUrl string `toml:"api_url"`
|
||||||
SharedSecret string `toml:"shared_secret"`
|
SharedSecret string `toml:"shared_secret"`
|
||||||
City string `toml:"city"`
|
City string `toml:"city"`
|
||||||
} `toml:"hmc"`
|
}
|
||||||
Postmark struct {
|
Postmark struct {
|
||||||
ServerToken string `toml:"server_token"`
|
ServerToken string `toml:"server_token"`
|
||||||
ApiUrl string `toml:"api_url"`
|
ApiUrl string `toml:"api_url"`
|
||||||
|
|||||||
Reference in New Issue
Block a user