五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(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ù)的評論 (共 條)

分享到微博請遵守國家法律
陆良县| 台前县| 游戏| 苏州市| 岳阳市| 稻城县| 任丘市| 兴国县| 东山县| 隆子县| 留坝县| 通城县| 永仁县| 安平县| 陕西省| 佛冈县| 濮阳县| 平顺县| 盐亭县| 盐边县| 额尔古纳市| 青州市| 吉安县| 子长县| 仁寿县| 都江堰市| 牡丹江市| 万山特区| 策勒县| 大宁县| 南丹县| 广州市| 苍南县| 年辖:市辖区| 石河子市| 永济市| 筠连县| 涿州市| 禹州市| 剑阁县| 巴塘县|