mirror of
https://github.com/go-acme/lego.git
synced 2024-12-05 12:00:24 +02:00
14 lines
398 B
Go
14 lines
398 B
Go
|
package versio
|
||
|
|
||
|
const tokenResponseMock = `
|
||
|
{
|
||
|
"access_token":"699dd4ff-e381-46b8-8bf8-5de49dd56c1f",
|
||
|
"token_type":"bearer",
|
||
|
"expires_in":3600
|
||
|
}
|
||
|
`
|
||
|
|
||
|
const tokenFailToFindZoneMock = `{"error":{"code":401,"message":"ObjectDoesNotExist|Domain not found"}}`
|
||
|
|
||
|
const tokenFailToCreateTXTMock = `{"error":{"code":400,"message":"ProcessError|DNS record invalid type _acme-challenge.example.eu. TST"}}`
|