> For the complete documentation index, see [llms.txt](https://bitlong.gitbook.io/api-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bitlong.gitbook.io/api-doc/tapd-api/subserverstatus.md).

# SubServerStatus

### 1.SubServerStatus

```go
func GetSubServerStatusInfo() string 
```

#### 参数

无

#### 响应

* `disabled` <mark style="color:orange;">bool</mark> 子服务是否启用
* `running` <mark style="color:orange;">bool</mark> 子服务是否正在运行(已启动)
* `error` <mark style="color:orange;">string</mark> 子服务错误信息
* `custom_status` <mark style="color:orange;">string</mark> 子服务自定义状态

示例

```json
{"success":true,"error":"","code":200,"data":{"accounts":{"disabled":false,"running":true,"error":"","custom_status":""},"faraday":{"disabled":false,"running":false,"error":"error starting macaroon service: unable to unlock macaroon DB: invalid password","custom_status":""},"lit":{"disabled":false,"running":true,"error":"","custom_status":""},"lnd":{"disabled":false,"running":true,"error":"","custom_status":""},"loop":{"disabled":false,"running":false,"error":"no swap server address specified","custom_status":""},"pool":{"disabled":false,"running":false,"error":"unable to unlock macaroon DB: invalid password","custom_status":""},"taproot-assets":{"disabled":false,"running":true,"error":"","custom_status":""}}}
```
