The LINE bot to notify web pages update. (for GAE)
application: yourapplicationname
version: 1
runtime: go
api_version: go1
handlers:
- url: /.*
script: _go_app
env_variables:
PATH_SUFFIX: '-your-path-suffix' # It is for to keep the endpoints undiscovered by others.
CHANNEL_SECRET: 'Your LINE channel secret'
CHANNEL_TOKEN: 'Your LINE channel token'
cron:
- description: "check update"
url: /cron-your-path-suffix # '/cron' + $PATH_SUFFIX
schedule: every 5 minutes
$ goapp deploy
- /callback -your-path-suffix ... for the LINE Mesanger API Webhook
- /cron -your-path-suffix ... for checking updates