Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | package stubs |
||
2 | |||
3 | // PingOk returns the api response to the `/ping` endpoint |
||
4 | func PingOk() []byte { |
||
5 | return []byte(` |
||
6 | { |
||
7 | "time": "2022-10-08T14:31:10+00:00", |
||
8 | "version": "2.2.0", |
||
9 | "nonce": "95cdf110-4614-4d95-b6c2-f14fe01c4995", |
||
10 | "key": "6B352110-4716-11ED-963F-0800200C9A66" |
||
11 | } |
||
12 | `) |
||
13 | } |
||
14 | |||
15 | // PingError returns an error api response to the `/ping` endpoint |
||
16 | func PingError() []byte { |
||
17 | return []byte(` |
||
18 | { |
||
26 |