google-home-aws-news
所属分类:构建工具
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2020-12-12 15:07:41
上 传 者:
sh-1993
说明: 用于google assistance集成的webhook,提供最新的AWS新闻
(A webhook for google assistance integrations to provide the latest AWS news)
文件列表:
.travis.yml (1306, 2020-12-12)
Dockerfile (580, 2020-12-12)
LICENSE (1070, 2020-12-12)
Makefile (692, 2020-12-12)
cache.go (656, 2020-12-12)
cache_test.go (273, 2020-12-12)
fulfillment_test.go (223, 2020-12-12)
fulfilment.go (2160, 2020-12-12)
go.mod (1479, 2020-12-12)
go.sum (53726, 2020-12-12)
main.go (1020, 2020-12-12)
metrics.go (793, 2020-12-12)
news.go (1160, 2020-12-12)
news_test.go (661, 2020-12-12)
routes.go (279, 2020-12-12)
routes_test.go (1910, 2020-12-12)
# google-home-aws-news
[![Build Status](https://travis-ci.org/circa10a/google-home-aws-news.svg?branch=main)](https://travis-ci.org/circa10a/google-home-aws-news)
[![Go Report Card](https://goreportcard.com/badge/github.com/circa10a/google-home-aws-news)](https://goreportcard.com/report/github.com/circa10a/google-home-aws-news)
A Google Assistant webhook integration to provide the latest AWS news.
* [View details on Google](https://assistant.google.com/services/a/uid/0000006c6dc51de5)
* Deployed on Heroku at https://google-home-aws-news.herokuapp.com/webhook
_Powered by [go-aws-news](https://github.com/circa10a/go-aws-news)_
## Usage
- "OK Google, Talk to cloud computing news"
> Note: News items are cached for 8 hours, then renewed with another request
### Example View
## Configuration
| | | | | | |
|-------------|-----------------------------------------------------------------------|----------------------|------------------------|-----------|---------------|
| Name | Description | Environment Variable | Command Line Argument | Required | Default |
| GIN MODE | Runs web server in production or debug mode |`GIN_MODE` | NONE | `false` | `release` |
| PORT | Port for web server to listen on | `PORT` | NONE | `false` | `8080` |
## Metrics
Prometheus metrics for usage are available at `/metrics`
## Development
### Test
```shell
make
```
### Build
```shell
make build
```
### Run
```shell
make run
```
### Compile Binary
```shell
make compile
```
近期下载者:
相关文件:
收藏者: