mirror of
https://github.com/fosrl/olm.git
synced 2026-02-27 15:26:45 +00:00
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -13,6 +13,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
|
- name: Clone fosrl/newt
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
repository: fosrl/newt
|
||||||
|
path: ../newt
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v6
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -38,8 +38,9 @@ func IsAuthError(err error) bool {
|
|||||||
|
|
||||||
type TokenResponse struct {
|
type TokenResponse struct {
|
||||||
Data struct {
|
Data struct {
|
||||||
Token string `json:"token"`
|
Token string `json:"token"`
|
||||||
ExitNodes []ExitNode `json:"exitNodes"`
|
ExitNodes []ExitNode `json:"exitNodes"`
|
||||||
|
ServerVersion string `json:"serverVersion"`
|
||||||
} `json:"data"`
|
} `json:"data"`
|
||||||
Success bool `json:"success"`
|
Success bool `json:"success"`
|
||||||
Message string `json:"message"`
|
Message string `json:"message"`
|
||||||
|
|||||||
Reference in New Issue
Block a user