国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

Gotify 自建消息推送服務(wù)

2022-02-06 13:00 作者:Davidxiangcm  | 我要投稿


[Gotify](https://gotify.net/docs/index)

a simple self-hosted server for sending and receiving messages

自建消息服務(wù)。

跨平臺,Dockerable,簡單,開源,免費,自建。

服務(wù)端、客戶端、應(yīng)用 都有。


Intro

This is the documentation of gotify/server. Lets start with some definitions:

約定如下


A client is a device or application that can manage clients, messages and applications. However a client is not allowed to send messages.

用戶:代管理用戶、消息、應(yīng)用的設(shè)備或應(yīng)用。用戶不能發(fā)送消息。


An application is a device or application that only can send messages.

應(yīng)用:僅能發(fā)送消息的設(shè)備或者應(yīng)用。


Users are only able to manage (view/edit/delete) clients and applications (includes messages sent by the app) that they've created.

用戶:僅管理(查、改、刪)已創(chuàng)建的用戶和應(yīng)用(包括app發(fā)送的消息)


A message has the following attributes: content, title, creation date, application id and priority.

消息包含如下字段:內(nèi)容,標(biāo)題,創(chuàng)建日期,應(yīng)用ID,優(yōu)先級。

An application can be added via

  • WebUI: click the?apps-tab in the upper right corner when logged in and add an application

  • REST-API:?curl -u admin:admin https://yourdomain.com/application -F "name=test" -F "description=tutorial"?See?API-Docs

可以通過WebUI或REST-API注冊應(yīng)用。


To authenticate as an application you need the application token. The token is returned in the REST request and is viewable in the WebUI.

與服務(wù)器通信通過應(yīng)用程序令牌身份驗證。REST請求返回程序令牌,可在WebUI查看。


Message Extras

Extras are used to carry extra information, change how clients behave, etc. Extras are stored in a key-value scheme and are only accepted in?POST /message?requests with?application/json?content-type.


消息擴展

用于改變用戶響應(yīng)等。以鍵值對方式存儲。僅響應(yīng)requests?with?application/json content-type的POST方法。


reverse proxy

可用反向代理。

Nginx/Apache/Caddy2/Haproxy



Database

Dialect?????????Connection

sqlite3????????? ?path/to/database.db

mysql????????????gotify:secret@/gotifydb?charset=utf8&parseTime=True&loc=Local

postgres????? ? host=localhost port=3306 user=gotify dbname=gotify password=secret

When using postgres without SSL then?sslmode=disable?must be added to the connection string. See?#90.

For?mysql?and?postgres: Make sure the defined database exists and the user has sufficient permissions.



Gotify 自建消息推送服務(wù)的評論 (共 條)

分享到微博請遵守國家法律
监利县| 唐河县| 柳江县| 泉州市| 调兵山市| 贵溪市| 永新县| 安阳市| 正宁县| 常山县| 城口县| 礼泉县| 平塘县| 清苑县| 安吉县| 呼和浩特市| 玉林市| 漯河市| 洪泽县| 深水埗区| 大渡口区| 监利县| 元谋县| 曲阳县| 含山县| 油尖旺区| 嘉祥县| 额尔古纳市| 新昌县| 屯门区| 页游| 星子县| 城市| 来宾市| 突泉县| 潮州市| 卢龙县| 襄城县| 宁阳县| 平和县| 浪卡子县|