From b9a191dce93c5b5d6825c14d2ad336914ff4ef86 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Thu, 22 Jul 2021 08:43:42 +0430 Subject: go mod update and postman update [ci skip] --- README.md | 2 +- api/hived.postman_collection.json | 90 ++++++++++++++++++++++++++++++++++++--- go.mod | 2 + go.sum | 21 +++++++-- hived.go | 1 + 5 files changed, 107 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 84d45c2..cff6703 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://travis-ci.org/terminaldweller/hived.svg?branch=main)](https://travis-ci.org/terminaldweller/hived) +[![Build Status](https://travis-ci.com/terminaldweller/hived.svg?branch=main)](https://travis-ci.com/terminaldweller/hived) [![Go Report Card](https://goreportcard.com/badge/github.com/terminaldweller/hived)](https://goreportcard.com/report/github.com/terminaldweller/hived) # hived diff --git a/api/hived.postman_collection.json b/api/hived.postman_collection.json index 26ad78f..f025c5b 100644 --- a/api/hived.postman_collection.json +++ b/api/hived.postman_collection.json @@ -43,7 +43,7 @@ "method": "GET", "header": [], "url": { - "raw": "http://127.0.0.1:8008/pair?one=ETH&two=CAKE&multiplier=4.0", + "raw": "http://127.0.0.1:8008/pair?one=BNB&two=CAKE&multiplier=41.56", "protocol": "http", "host": [ "127", @@ -58,7 +58,7 @@ "query": [ { "key": "one", - "value": "ETH" + "value": "BNB" }, { "key": "two", @@ -66,7 +66,7 @@ }, { "key": "multiplier", - "value": "4.0" + "value": "41.56" } ] } @@ -99,13 +99,93 @@ }, "response": [] }, + { + "name": "alert-put", + "request": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\":\"alert4\",\r\n \"expr\":\"ETH